shell-format 插件
shell-format 插件可以格式化 shell 脚本,使其更易读。
依赖:
- shfmt 插件
- shfmt 程序
相关链接:
macOS 安装 shfmt 程序:
brew install shfmt
VSCode 配置:
"shfmt.executableArgs": ["-i=4", "-sr"]
shell-format 插件可以格式化 shell 脚本,使其更易读。
依赖:
相关链接:
macOS 安装 shfmt 程序:
brew install shfmt
VSCode 配置:
"shfmt.executableArgs": ["-i=4", "-sr"]