Get it on the VS Code Marketplace!
language | extension | describe |
---|---|---|
shellscript | .sh .bash .zsh | shell script files |
dockerfile | Dockerfile | docker files |
ignore | .gitignore .dockerignore | ignore files |
properties | .properties | java properties files |
jvmoptions | .vmoptions , jvm.options | jvm options file |
hosts | /etc/hosts | hosts file |
build | release |
---|---|
shift+option+f
shift+command+p then type Format Document
download excutable binary file
from https://github.com/mvdan/sh/releases
and config shellformat.path
shellformat.path
the shfmt fullpath example [mac,linux]:/usr/local/bin/shfmt
[windows]:C:\\bin\\shfmt.exe
shellformat.flag
shfmt -h to see detailed usage.shellformat.showError
show error message when format. default true.
Enjoy shellscript!