Formatter Support

BashSupport Pro supports and bundles shfmt 3.8.0 to format your shell scripts. shfmt binaries are bundled with the plugin, but you still can use a version, which is installed on your system.

Code Style Settings

Code Style Settings of the shfmt Formatter
Code Style Settings of the shfmt Formatter

Application Settings

BashSupport Pro bundles shfmt binaries for macOS, Linux and Windows. If you want to use a locally installed version of shfmt, then you can set your own path at Settings… → Languages & Frameworks → BashSupport Pro.

How to set a custom path to shfmt
How to set a custom path to shfmt

Limitations

The following settings are not yet supported:

  • formatting only the selected text of a file
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款