By default, Netbeans keeps dot files and directories hidden from the project tree. If you want to show them, never fear — there is a way.
Preferences > Miscellaneous > Files > Ignored Files Pattern
^(CVS|SCCS|vssver.?.scc|#.*#|%.*%|_svn)$|~$|^.(?!htaccess$)$
Basically, remove the .*
at the end of the regular expression, and you’re good to go.