开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜