开发者

How to ignore pyc files in Netbeans project browser (regex question)

开发者 https://www.devze.com 2023-01-15 10:35 出处:网络
I want to ignore .pyc fi开发者_如何学JAVAles in the Netbeans project browser. I think I found a way: TOOLS -> MISCELLANEOUS -> FILES .

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

精彩评论

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