搜索栏输入shell-format,点击"install"按钮
安装完毕
- 下载shfmt
网址:https://github.com/mvdan/sh/releases
点击“shfmt_v3.6.0_windows_amd64.exe”下载(可能需要科学上网才能下载)
- 存放文件
将下载的exe文件,存放到任意目录
- 配置
依次点击"File"——>“Preferences”——>“Settings”
进入Settings,输入"shell-format",点击"Edit in sett