eclipse / shellwax

Shell script editor plugin for Eclipse
https://marketplace.eclipse.org/content/shellwax
Eclipse Public License 2.0
17 stars 12 forks source link

ShellWax LS bound to too many files #71

Closed mickaelistria closed 2 years ago

mickaelistria commented 2 years ago

Since addition of Shebang content-type, ShellWax LS is bound to too many files in the IDE. As a result, some operations like Ctrl+Shift+T will even hook the "Find Symbols in Workspace" for a Java file, and the LS also receives lots of unrelated information.

This is because BashShebangContentDescriber#describe is supposed to return INVALID instead of INDETERMINATE for that case, so it becomes excluded. Apparently INDETERMINATE keeps the content-type in. VALID vs INDETERMINATE is just a way to prioritize first set over 2nd one.

mickaelistria commented 2 years ago

Fixed in SNAPSHOTs