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.
With the fix of issue #31977, scripting/sh/src/org/netbeans/modules/languages/sh/ShellScriptResolver.java can be replaced with an XML MIME resolver, which can also be put near the end of the list (since it sniffs headers).
Already filed. *** This issue has been marked as a duplicate of 117280 ***