shfmt for Visual Studio Codeshfmt formats shell programs. This extension uses it to provide a formatter for shell script documents. FeaturesFormat your shell script documents with the "Format Document" command. Customize the formatting options with an editorconfig file. See the shfmt documentation for details. RequirementsThis extension requires shfmt to be installed. Extension SettingsThis extension contributes the following settings:
Known Issuesshfmt supports a limited number of shells, and Visual Studio Code cannot determine the shell used to interpret script. If you use an unsupported shell (like zsh, or descendants of csh or ksh), consider using editorconfig to let shfmt ignore their scripts. See the shfmt documentation for details. shfmt does not support formatting partial documents. This means this extension cannot not support "Format Selection" or "Format Modified Lines". What's Up With That Icon?It's shells, laid out in the form of a heart! Made with Emoji Kitchen. |