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 160477

Summary: Project with multiple source folders
Product: php Reporter: Filip Zamboj <fzamboj>
Component: ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED FIXED    
Severity: blocker CC: vstejskal
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Filip Zamboj 2009-03-17 16:51:11 UTC
This is a relevant enhancement request from nbphp forum intiated by jstrope user. Use case for multiple source folders
could be one described below. 

Use case: 
Directory structure is often given (and big).
What if only 2 folders of hundreds are needed for an project? In that
case, instead of having only of 20-30 files I need, NB includes all
folders, which have hundreds of thouthends of files.
Comment 1 Filip Zamboj 2009-03-23 21:02:21 UTC
One more use case from user: 

How big is the project you serach in and it takes 3 - 5 sec?

It is very big, cause there are no possibility to exclude folders from
project. In this project there are about 30000 files. I need only 4
folders, which would reduce number of files to about 1000.

Comment 2 Tomas Mysik 2009-03-24 10:54:01 UTC
> there are no possibility to exclude folders from project

This should be possible I think, adjust regular expression of Ignored Files in Tools > Options > Miscellaneous > Files.
(But this could cause problems if you use versioning for your projects.)
Comment 3 Filip Zamboj 2009-03-24 12:48:36 UTC
pet suggested a nice workaround: 
In my situation I did another local svn
checkout, and then removed unneeded folders from there. It has reduced
number of files and NB performs much better now

Anyway, a possibility to include only some folders would be nice. We will see if have more valid requests on this. 
Comment 4 Tomas Mysik 2009-11-25 03:11:25 UTC
I guess we can close this issue because all the scenarios described here can be solved via Project Properties > Ignored Folders.