How to set up NetBeans to view .htaccess in Project or Files view
A few days ago I run in an issue that by default NetBeans doesn't show files which starts with dot, which is exactly the case of .htaccess file. This is the tip how to do it.
Go to the Options->Miscellaneous->Files and the content of Ingnored Files Pattern field replace with:
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|\.(cvsignore|svn|DS_Store)|_svn)$|~$|^\.(?!htaccess$)
If you have already .htaccess in the project and the file is not still displayed, then close the project and open again. There is issue #139582, which is entered against the project.


I'm using Netbean 6.5 Milestone 1.
In my Options->Miscellaneous I don't have Files, but File Associations.
Which doesn't have the File Ignored by the IDE section. Is this only in the latest builds?
Posted by Jacob on July 11, 2008 at 07:01 AM CEST #
Hi Jacon,
you are true. I'm sorry, I haven't check it, whether this is in M1. M1 for me is old build and things are changing very quickly.
Anyway I think that defining the query through regular expression is to hard for many users and our team entered issue http://www.netbeans.org/issues/show_bug.cgi?id=139023, where we are asking for improving the situation. If you want, you can express your thought there or change the priority, if you thing that it doesn't reflect the reality.
I'm sorry for confusing again.
Thanks,
Petr
Posted by Petr on July 11, 2008 at 08:46 AM CEST #