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路径选择设置上就行了

相关推荐
宝桥南山1 天前
Visual Studio 2026新特性 - 可以直接连接DeepSeek(使用Custom Endpoint Provider配置项)
ide·microsoft·微软·aigc·.net·visual studio
wangqiaowq1 天前
Protégé 开源本体(Ontology)编辑器
编辑器
张紫娃3 天前
idea 如何看一个类的 .class 文件
java·ide·intellij-idea
NoteDeep 深度笔记3 天前
DOM 被改乱了怎么办?Notedeep 编辑器的 normalize 设计
前端·javascript·编辑器
顧棟3 天前
组件生命周期设计:从硬编码初始化到状态机
java·ide
jianqiang.xue4 天前
Espressif-IDE进入维护模式:乐鑫把ESP32开发的宝押给VS Code
前端·css·ide
Solange__6 天前
Blender 3D模型优化:普通复制、共享网格、实例、合并怎么选?
人工智能·3d·ai·自然语言处理·编辑器·blender·材质
2601_967980116 天前
世界上最好的Python编辑器是什么?我投PyCharm一票
ide·python·pycharm·数据科学·jupyter notebook