Ignored folders? Sure!
Today, I would like to introduce you a very nice feature that many (really many) of you wanted to see and use. In the development version of NetBeans, one can ignore project's folders - what does it mean? It means that one can specify folders that are not visible in the UI but mainly, they are not scanned and indexed (example of such folder could be a directory with generated documentation etc.). Have a look at Project Properties dialog:

Please notice that due to bug 168460, IDE must be restarted.
That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans IssueZilla (component php, subcomponent project).

Really love this and the previous 2 changes (better up/download progressbar and symfony) in the PHP module :-) Keep up the good work! (Didn't find any bugs until now.)
Posted by Konrad Malawski on July 17, 2009 at 02:47 PM CEST #
Great, Thanks!
Posted by gawan on July 17, 2009 at 02:56 PM CEST #
Very nice feature. This will save many people a lot of RAM
Posted by Isaak on July 17, 2009 at 03:00 PM CEST #
Great! Finally a way to hide Smarty's cache-folder from NetBeans' indexing.
Posted by Tom on July 17, 2009 at 05:45 PM CEST #
That's great, but something that I find way more annoying is auto-add of new files. NetBeans' svn client is the only one I know of that automatically adds new files. I don't want to have to clutter up my ignore lists with files that have nothing to do with my working copy, such as local config files, test media etc. It also means I can *never* do a commit of the whole working copy, only of selected files.
Posted by Marcus on July 17, 2009 at 06:09 PM CEST #
To Marcus:
Feel free to file an issue/enhancement against NetBeans subversion support.
Thanks,
Tomas
Posted by Tomas Mysik on July 17, 2009 at 06:11 PM CEST #
Disabling a few javascript library dirs reduces the "scanning" time for me from about 30 minutes to only 4.
Thank you!
Posted by dick on July 17, 2009 at 08:02 PM CEST #
For me bertram.netbeans.org returns "Connection refused" at the moment. Is it for me only?
Posted by Andrew Gaydenko on July 18, 2009 at 03:41 PM CEST #
>Feel free to file an issue/enhancement against NetBeans subversion support.
amen
Posted by svyr on July 19, 2009 at 11:16 AM CEST #
http://www.gizemdolu.net
http://www.askpencerem.net
Posted by aşk şiirleri on July 19, 2009 at 12:09 PM CEST #
I am confused of this feature. Why not provide the same concept in Java project and let user includes/excludes some file/directory directly in Source panel in the Project properties.
Posted by hantsy on July 20, 2009 at 05:39 AM CEST #
I'd really like to be the "invisibility" to be optional, if that's possible.
Sometimes you want indexing turned off for a folder because you know, there's nothing important (index-wise) in it, but still you need to be able to edit some of it's files.
Other than that, great feature, keep up the great work 6.7 is running really great :-)
Posted by Tobias on July 20, 2009 at 08:53 AM CEST #
To dick:
Would it be possible to submit a bug report with a sample project for which scanning takes 30 minutes?
Thanks,
Tomas
Posted by Tomas Mysik on July 20, 2009 at 09:37 AM CEST #
To Tobias:
For your case, you should use e.g. the following project structure:
project-directory/
|-- db
|-- logs
|-- source-directory <-- scanned & indexed
|-- test-directory <-- scanned & indexed
`-- tmp
HTH,
Tomas
Posted by Tomas Mysik on July 20, 2009 at 09:43 AM CEST #
>Feel free to file an issue/enhancement against NetBeans subversion support.
I would appreciate that. If you know TortoiseSVN, you will possible know you may build a "do not submit"-list within the client on-the-fly.
This might be a good way to get the job done.
Once you have an issue-number, let us know, so we may contribute to that.
Posted by Tom on July 20, 2009 at 09:06 PM CEST #
project-directory/
|-- db
|-- logs
|-- source-directory <-- scanned & indexed
|-- test-directory <-- scanned & indexed
`-- tmp
Why db, logs and tmp are not scanned? (If they would be excluded, we wouldn't see them, right?)
Posted by 92.230.55.128 on July 21, 2009 at 11:16 AM CEST #
To 92.230.55.128:
Why to scan SQL files? Why to scan logs? Why to scan temporary files?
These folders are not visible in Projects view, but they are visible in Files view.
HTH,
Tomas
Posted by Tomas Mysik on July 21, 2009 at 01:13 PM CEST #
I am a great NetBeans fan and the IDE have been working really well with DooPHP framework with all the autocomplete and code hinting.
This feature is nice since I can ignore file with repeat class names in the framework.
Kudos to Netbeans!
http://doophp.com/
Posted by 124.82.71.185 on July 22, 2009 at 12:58 PM CEST #
So while its cool that I can get to MyDatabaseResult just by typing "MDR" that is worth nothing to me because the class is named "My_Database_Result". This is one of the points where NetBeans could be worth so much to me, but isn't, just because it doesn't handle naming conventions.
Posted by Malware Removal Bot on September 02, 2009 at 11:10 AM CEST #
Nice Feature, but i think, disable in UI and not scanning are two different things. We have a lot of tests and examples, which schould not be scanned, but should shown in the UI. If they are disabled, i cannot edit and commit anymore.
Another thing is missing patterns for ignore folders. We uses big libraries having test and doc folders in each package. I don't want to ignore each of them myself. This should work automatically.
Next is, how can i add another project as include path, which also handles the ignored folders from that project?
Posted by Timo on September 18, 2009 at 04:16 PM CEST #