Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 ?

like image 257
Andrei Ciobanu Avatar asked Dec 07 '25 09:12

Andrei Ciobanu


1 Answers

Try this :

^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn|.*\.pyc)$|~$|^\.(?!htaccess$).*$

I just added the .*\.pyc in the first group capture.

like image 55
Colin Hebert Avatar answered Dec 08 '25 23:12

Colin Hebert