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:

Ignored Folders

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).


Comments:

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 07:47 AM CEST #

Great, Thanks!

Posted by gawan on July 17, 2009 at 07:56 AM CEST #

Very nice feature. This will save many people a lot of RAM

Posted by Isaak on July 17, 2009 at 08:00 AM CEST #

Great! Finally a way to hide Smarty's cache-folder from NetBeans' indexing.

Posted by Tom on July 17, 2009 at 10:45 AM 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 11:09 AM 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 11:11 AM 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 01: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 08:41 AM CEST #

>Feel free to file an issue/enhancement against NetBeans subversion support.

amen

Posted by svyr on July 19, 2009 at 04:16 AM CEST #

http://www.gizemdolu.net
http://www.askpencerem.net

Posted by aşk şiirleri on July 19, 2009 at 05:09 AM 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 19, 2009 at 10:39 PM 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 01: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 02: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 02: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 02: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 guest on July 21, 2009 at 04: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 06:13 AM 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 guest on July 22, 2009 at 05:58 AM 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 04: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 09:16 AM CEST #

no use at all, ignored folded are still scaned when ide started and last near 30minutes.

Posted by guest on December 16, 2009 at 11:28 PM CET #

For me bertram.netbeans.org returns "Connection refused" at the moment. Is it for me only?

Posted by araç sorgulama on December 29, 2009 at 04:17 AM CET #

oynadıgınız oyunlardaki karakterleri charları yada oyunların begendiginiz karakterlerini artık tshirtlere bastırabileceginiz bir yer var
sitemize girmenizi incelemenizi bekliyoruz.

Posted by oyuntshirt on December 14, 2010 at 04:03 PM CET #

iSTANBUL CiTY

Projemiz Çerkezköy Kızılpınar'da 26.000 m2 alan içerisinde 11 katlı 12 blok, 3300 m2 alışveriş merkezi ve alışveriş merkezinin üzerine inşa edilecek beşer katlı iki rezidans kule, toplam 650 daireden oluşmaktadır. 18.000 m2 yeşil alan, sosyal aktivite ve park alanı mevcuttur.

İstanbul Palmiye Grup Sizlere Güveniyor...
Banka, Kefil, Faiz, Kura, Ara Ödeme Yok... 96 Ay Vade İmkanı...
Kira Öder Gibi Ev Sahibi Olabilmeniz İçin, Her Bütçeye Uygun Ödeme Tabloları Sizleri Bekliyor...

<a href="http://www.istanbulpalmiyegrup.com">palmiye</a></p>

Posted by palmiye on December 15, 2010 at 01:36 AM CET #

working, thanks :)

Posted by guest on September 05, 2011 at 09:25 AM CEST #

Thanks! Just what I needed to ignore the Yii Framework's assets folder which were showing me the js files ther too!

Posted by michaelg on March 05, 2012 at 08:12 PM CET #

project properties > ignored folders (php edition) doesn't exclude a directory from searching -- i need something that will do that as i have some large js libraries that i'm not interested in searching through

Posted by guest on March 18, 2012 at 03:24 PM CET #

Thank you! It was an important info for me.
I have an old site, what has ISO-8859-2 encoding, but i need to install a wordpress with UTF-8 under this, and now i have 2 projects, and ia can separated them.

Thx again.

Posted by vaso on September 25, 2012 at 08:39 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today