How to ignore pyc files in Netbeans project browser (regex question)
I want to ignore .pyc fi开发者_如何学JAVAles 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.
精彩评论