vscode和idea配置shfmt格式化shell脚本

豆包插件让我安装 shell-format,但是没有生效,貌似是插件冲突?控制台没有日志

有别人的用 shell-format 正常,我异常控制台日志都没有,只能换了
shell-format:VSCode格式化shell脚本

从其中下载 对应的文件,比如 shfmt_v3.12.0_windows_amd64.exe

镜像下载地址: https://gh.monlor.com/https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_windows_amd64.exe

vscode

  • 安装插件 shfmt

  • vscode中配置

  • 重启vscode

idea

idea直接将exe路径选择设置上就行了

相关推荐
ue星空35 分钟前
【Godot】更换编辑器外观主题
编辑器·游戏引擎·godot
没事学点编程小知识1 小时前
免费的在线EPUB编辑器:E-Ink
编辑器
浪客川2 小时前
使用 IDEA 生成API文档
java·ide·intellij-idea
SMF19195 小时前
【PyCharm】让 PyCharm 使用 .venv 虚拟环境
ide·python·pycharm
User_芊芊君子6 小时前
STT + LLM + TTS:用一条流水线搓了个中英双向翻译助手
ide·macos·xcode
菜哥万岁万岁万万岁1 天前
Visual Studio 2022 社区版下载
ide·visual studio
iCxhust1 天前
8088单板机VScode集成开发环境使用方法
ide·笔记·vscode·编辑器·微机原理·8088单板机
如何原谅奋力过但无声1 天前
现代化Python工具:uv、Ruff、Pyright、Rich(只讲重点版)
vscode·python·uv
来日方长。。。。long1 天前
Hermes Agent橙皮书共读|第三篇:保姆级实战部署|本地/VPS从零搭建Hermes
ide·git·hermes
流浪打工人1 天前
Unity3D编辑器初始化场景物体
编辑器