CosmicGiant
CosmicGiant

Reputation: 6439

NetBeans fails to recognize and/or create folders that start with '.'?

At least in Windows, folders with names starting with '.' (dot) characters are valid, and it's possible to create or name folders starting with a '.' (dot) character by ending the folder's name with a '.' (dot) during creation or rename.

NetBeans (8.0.2 and DEV) seems to fail to recognize such folders, making them unavailable or invisible in the "Projects" or "Files" tabs.

During the creation of such named folders, NetBeans further fails to close the "New Folder" window, after clicking "Finish", although, in the real file-system, the file gets created successfully.

Is this a bug?

Upvotes: 1

Views: 271

Answers (1)

CosmicGiant
CosmicGiant

Reputation: 6439

Folders starting with . are ignored by NetBeans by default. To change this behavior, go to Tools -> Options -> Miscellaneous -> Files and remove .* from the end of the Ignored Files Pattern, thus changing it from:
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(htaccess|git.+|hgignore)$).*$
to...
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(htaccess|git.+|hgignore)$)$


As for the folder-creation problem, yes, this is a bug with the NetBeans IDE.

I submitted the issue (#256500) to the NetBean's bugtracker.

Upvotes: 1

Related Questions