VS Code 官网:https://code.visualstudio.com

VS Code 官网插件:https://marketplace.visualstudio.com/VSCode

1、编写 Shell 脚本常用插件

(1)shellman
功能:智能提示和自动补全
(2)shellcheck
功能:语法错误检查
(3)shell-format
功能:格式化Shell脚本
使用:在文件里右击,选择Format Document,或者使用快捷键:Shift+Alt+F
(4)Code Runner
功能:运行Shell脚本
安装完后,重启VS Code
使用:在 xxx.sh 脚本上右击,选择Run Code,或者在文件里右击,选择Run Code