‹ 首页

lsp-setup

@code-yeongyu · 收录于 3 周前 · 上游提交 今天

Configure a Language Server (LSP) for a specific language so editor/agent tooling — diagnostics, go-to-definition, find-references, rename — works. Use when you need to: configure LSP, lsp setup, set up or install a language server, fix 'no LSP server configured' / 'server not installed', choose between servers (basedpyright vs pyright vs ty vs ruff), or wire .codex/lsp-client.json / .opencode/lsp.json. 언어서버 설정. Routes by file extension to references/<language>/README.md for the exact builtin server, per-OS install commands (macOS/Linux/Windows), config snippets for both config files, initialization options, alternatives, and troubleshooting. Ships scripts: detect-lsp.ts (scan a project for languages + each server's install/config status) and verify-lsp.ts (run a real diagnostics roundtrip). Covers typescript, python, go, rust, c/c++, java, kotlin, c#/razor, swift, ruby, php, dart, elixir, zig, lua, bash, yaml, terraform, haskell, julia.

适合你,如果经常需要为不同语言配置 LSP 或修复编辑器诊断功能

/ 通过 npx 安装 校验哈希
npx oh-my-skill add code-yeongyu/oh-my-openagent/lsp-setup
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- code-yeongyu/oh-my-openagent/lsp-setup
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify code-yeongyu/oh-my-openagent/lsp-setup
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
66743GitHub stars
~1.4K最小装载
~14.8K含声明引用
~14.9K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 ace1339 · 表述以原文为准
它做什么

安装后,Claude能自动检测项目语言,指导安装对应的语言服务器,生成或修改配置文件,并运行验证脚本确保诊断、跳转定义等功能正常工作。

什么时候触发

当用户要求配置或安装语言服务器,或修复“未配置语言服务器”、“服务器未安装”等错误时触发。

装好后可以这样说
Claude运行detect-lsp.ts扫描并报告结果。
Claude参考Go的README进行安装和验证。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。