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

相关推荐
时空自由民.8 小时前
vim入门配置教程
编辑器·vim·excel
zh_xuan10 小时前
解决VS Code 控制台中文乱码
c++·vscode·乱码
周末也要写八哥10 小时前
Eclipse 2024全流程网盘下载与安装配置教程详解
java·ide·eclipse
猿儿本无心11 小时前
快速搭建Python项目(Vscode+uv+FastAPI)
vscode·python·uv
ChampaignWolf14 小时前
在 Eclipse 中使用 Tabnine
java·ide·eclipse
π同学16 小时前
ESP-IDF+vscode开发ESP32第十二讲——event
vscode·esp32·事件循环库event
诗水人间16 小时前
VsCode 中使用Copilot调用Deepseek V4模型
ide·vscode·copilot
梦想家加一16 小时前
vscode为什么下载了汉化插件却不生效
ide·vscode·编辑器
神码编程17 小时前
【Unity】MiniGame编辑器小游戏(十五)中国象棋局域网对战【Chinese Chess】(上)
unity·编辑器·游戏引擎·小游戏
NiceCloud喜云18 小时前
Claude API 流式输出(SSE)实战:从打字机效果到工具调用全流程
java·前端·ide·人工智能·chrome·intellij-idea·状态模式