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 197793

Summary: Add "Ignore this folder" to contextual menu in Projects/Files sidebar
Product: php Reporter: jeremyclarke <jeremyclarke>
Component: ProjectAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: OndrejBrejla
Priority: P3    
Version: 7.0.1   
Hardware: Macintosh (x86)   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description jeremyclarke 2011-04-15 14:59:45 UTC
Note: Putting this in PHP because it seems like the "project" related stuff is PHP-specific. Please move this to a more general location if I'm wrong. 

Currently the only way to ignore a folder seem to be to go FILE > PROJECT PROPERTIES > IGNORED FOLDERS > ADD FOLDER. This is very time consuming and not at all easy to find (I figured it out via Stack Overflow, thank the universe for that site). 

I think that having the ability to ignore a directory from the Projects panel would be a really great idea that would have no negative impact. 

When you right click on a directory in the Projects or Files panels there is a menu in there called 'Tools'. Currently (at least in my PHP projects) there are only three choices in that menu. IMHO having a "Ignore this folder" choice in there would be super-useful and would help people learn that the ignore folders feature exists. 4 items is not too much so I don't think this will hurt the usability of the other choices. 

What do you think?

P.S. Currently 'ignored folders' only seem to do anything after NetBeans is restarted. Until then files that should be ignored continue to show up in 'Go to file' results and likely other places. IMHO adding an ignored folder should immediately reload whatever caches are applicable, not doing so is very confusing and likely to make people think it didn't work at all (which will then confuse them even more tomorrow when they boot up netbeans and the folders ARE ignored). This second issue should be a seperate ticket, I wrote about it here: http://netbeans.org/bugzilla/show_bug.cgi?id=193546