This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245290

Summary: After ignoring files/folders, those files/folders still shows inside Go to file.
Product: utilities Reporter: Christian Lenz <chrizzly>
Component: Jump ToAssignee: Tomas Zezula <tzezula>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Christian Lenz 2014-06-27 13:18:00 UTC
I have a lot of html5, 1 php and 1 java projects with bower and node components. Go To File and so on is very slow, I wanted to open a new bug and counted my files and lines of code.

Each project has about 10k files (because of node_modules and bower_components) I had a look in the Word count plugin -> options and set this regex: ^(CVS|.svn|node_modules|public-build|bower_components\.*)$.
I took this regex and set it to options -> files -> ignored Files pattern and now its a bit faster as before BUT when I open the Go to file dialog and try to search for "ang" it shows me the angular files inside the bower_components again. Same for "gr", it shows me grunt-* inside node_modules folder.

So for me, the Go to File dialog shouldn't search inside folders which I added to the file options -> ignore file pattern.

The Regex works because, when I search for "ang" in "Search files in project" I don't see any angular related things inside the bower_components, which is right.


Regards

Chris
Comment 1 Christian Lenz 2016-09-08 09:41:09 UTC
It works as expected, cannot reproduce it anymore.