下载shell-format二进制可执行文件
https://github.com/mvdan/sh/releases

选择windows对应的版本32位或者64位
下载的*.exe文件存储在任意位置

vscode设置
文件->首选项->设置

打开任意shell脚本
右键->format document 进行格式化
https://github.com/mvdan/sh/releases
选择windows对应的版本32位或者64位
文件->首选项->设置
右键->format document 进行格式化
本文标题:VSCode安装shell、bash格式化工具
本文链接:https://www.haomeiwen.com/subject/qqvlqxtx.html
网友评论