This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
GlobalVisibilityQueryImpl by default considers a dir named ".settings" (i.e. Eclipse settings) invisible, which is fine - I probably do not need to see this in Files etc. But then GlobalSharabilityQueryImpl also treats this file as unsharable, which is not OK: if I have a dir of this kind, even hidden, it can be expected to be in version control. While there are some patterns such as ~$ for which NOT_SHARABLE is sensible, ^\\.(?!htaccess$).*$ definitely does not fall into this category. I would recommend just removing GlobalSharabilityQueryImpl; if providers can only guess, UNKNOWN is the preferred result. A proper SCM setup would already be ignoring things like *~ anyway; the purpose of SQ is to let the IDE's SCM integration know about IDE-specific files or folders such as nbproject/private/ which you would not necessarily expect the user's repository to already be configured for, and the patterns in GlobalVisibilityQueryImpl are not relevant for that. My evaluation in bug #67900 comment #12 seems to have been wrong.
I have to say I have never understood the visibility/sharability queries stuff. Neither I got why these queries need to be part of masterfs. If you want to remove GlobalSharabilityQueryImpl and you believe you understand the consequences, go on.
Few months without any action by submitter. Probably not that urgent.