I want to ignore .pyc files in the Netbeans project browser.
I think I found a way: TOOLS -> MISCELLANEOUS -> FILES .
Here is a section called: Files ignored by the IDE .
The field there is waiting for a regex describing the file pattern . The default value for that field is:
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!htaccess$).*$
How do I modify this expression in order to (additionally) ignore the .pyc files ?
Try this :
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn|.*\.pyc)$|~$|^\.(?!htaccess$).*$
I just added the .*\\.pyc
in the first group capture.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.