This inspection highlights unresolved variables.

It’s disabled by default, because it’s still in beta status. You can enable it via Settings…EditorInspectionsBashSupport ProUnresolved variable (BETA) .

A variable is highlighted as unresolved under these conditions:

  • it’s not previously declared in the file
  • it’s not a built–in or predefined variable. For example $PATH is a built-in variable and $HOME is a predefined variable.

The validation is currently not good–enough to enable this inspection by default. For example, conditional statements are not checked at this time.

© 2020–2021 Joachim Ansorg
Privacy Policy