X

An Oracle blog about NetBeans for PHP

Ignored folders? Sure!

Guest Author

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


Join the discussion

Comments ( 28 )
  • Konrad Malawski Friday, July 17, 2009

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


  • gawan Friday, July 17, 2009

    Great, Thanks!


  • Isaak Friday, July 17, 2009

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


  • Tom Friday, July 17, 2009

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


  • Marcus Friday, July 17, 2009

    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.


  • Tomas Mysik Friday, July 17, 2009

    To Marcus:

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

    Thanks,

    Tomas


  • dick Friday, July 17, 2009

    Disabling a few javascript library dirs reduces the "scanning" time for me from about 30 minutes to only 4.

    Thank you!


  • Andrew Gaydenko Saturday, July 18, 2009

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


  • svyr Sunday, July 19, 2009

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

    amen


  • aşk şiirleri Sunday, July 19, 2009
  • hantsy Sunday, July 19, 2009

    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.


  • Tobias Sunday, July 19, 2009

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


  • Tomas Mysik Monday, July 20, 2009

    To dick:

    Would it be possible to submit a bug report with a sample project for which scanning takes 30 minutes?

    Thanks,

    Tomas


  • Tomas Mysik Monday, July 20, 2009

    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


  • Tom Monday, July 20, 2009

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


  • guest Tuesday, July 21, 2009

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


  • Tomas Mysik Tuesday, July 21, 2009

    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


  • guest Wednesday, July 22, 2009

    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/


  • Malware Removal Bot Wednesday, September 2, 2009

    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.


  • Timo Friday, September 18, 2009

    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?


  • guest Wednesday, December 16, 2009

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


  • ara&ccedil; sorgulama Tuesday, December 29, 2009

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


  • oyuntshirt Tuesday, December 14, 2010

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

    sitemize girmenizi incelemenizi bekliyoruz.


  • palmiye Wednesday, December 15, 2010

    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>


  • guest Monday, September 5, 2011

    working, thanks :)


  • michaelg Monday, March 5, 2012

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


  • guest Sunday, March 18, 2012

    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


  • vaso Tuesday, September 25, 2012

    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.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.