Settings of BashSupport Pro

This page provides an overview of the settings of BashSupport Pro.

Settings of BashSupport Pro
Settings of BashSupport Pro
Prefer the closest definition for Go To Declaration
This controls how Go To Declaration works. For example, consider this code snippet:
myVar=1 # selected when OFF
myVar=2 # selected when ON
echo $myVar # ← Invoked here  


Highlight errors in shell scripts
By default, BashSupport Pro’s own syntax error markers are turned off. Errors by ShellCheck are more helpful at this point. You could try to turn this on when you’re unhappy with the ShellCheck messages.

Shell Interpreters

This is the central piece of BashSupport Pro’s run configuration support. It’s the list of shell interpreters. Each entry defines one shell interpreter. Entries at the top are preferred over entries further below.

Click the circle icon to fill the list with the interpreters found on your system.

The path to the executable of this interpreter.
Windows Path Mapping
Defines the type of path mapping, which is applied to file paths on the command line. This is only displayed on Windows.
Most of the time, Automatic should be doing the right thing. Use None to turn it off completely and any of the other values to configure a specific type of mapping.
The type of the interpreter. Scripts are only run with compatible interpreters. This lets you define, what a particular interpreter can do.
Show in menus
These interpreters are displayed in the line marker menu of shell scripts.
“Run in terminal” path mapping
The Run in Terminal feature executes a script by pasting the command into a terminal window. The terminal can be setup to either run cmd, bash or something else as interpreter.
On Windows, this usually is something like C:\Windows\System32\bash.exe C:\Users\user\script.bash. This works well with the cmd interpreter, but it’ll fail when WSL Bash or something else is the interactive interpreter of the terminal.
This setting allows you to choose which path mapping is applied to the interpreter path C:\Windows\System32\bash.exe.


Path to ShellCheck:
By default, the bundled version is used. You can configure your own path, if you need to use a different binary.
ShellCheck arguments
This allows adding additional parameter, when ShellCheck is executed.

shfmt Formatter

Path to shfmt:
By default, the bundled version is used. You can configure your own path, if you need to use a different binary.
Notify when formatting failed
Sometimes, formatting fails, for example if a script contains syntax errors. Enable this to see a notification when that happens.


Send anonymized telemetry
Help BashSupport Pro by allowing telemetry data to be sent. Privacy of BashSupport Pro has a detailed list of what’s sent.
© 2020–2021 Joachim Ansorg
Privacy Policy