Loading...

Tuesday, June 3, 2008

Display hidden dot files and directories in NetBeans

By default we cannot see directories or files which start with a dot (.). These files and directories are considered hidden. We can change NetBeans so these files and directories are shown. We go to Tools | Options and press the Advanced Options button. A new dialog window is opened. We need to select Options | IDE Configuration | System | System Settings. The property Ignored Files contains a regular expression which states which files and directories are not shown in NetBeans. The default setting is: ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|\.(cvsignore|svn|DS_Store)|_svn)$|~$|^\..*$. The last entry defines the files and directories which start with a dot. We remove ^\..*$ and now we can see the hidden files and directories.

7 comments:

Johnson said...

In NetBeans 6.5.1, it is in Preferences -> Miscellaneous -> Files

mrhaki said...

@Johnson: thank you for the update. In NetBeans 6.7 and 6.7.1 it is there as well.

Anonymous said...

In Netbeans 6.9 it is in Tools -> Options -> Miscellaneous. The pattern has changed as well.

^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!htaccess$).*$

Just the remove the .* at the end and you're fine.

Helder said...

I tried it in Netbeans 7.0 beta 2 and it works very well, thank you!

yasen said...
This comment has been removed by the author.
yasen said...

In Netbeans 7.1 it's also in Tools -> Options -> Miscellaneous -> Files

Anonymous said...

Thanks for the tip. ;)

Post a Comment