‹ 首页

lsp-setup

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

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 缺失或不一致均拒装。
65921GitHub stars
~1.4K最小装载
~14.8K含声明引用
~14.9K文本包总量
索引托管

怎么用

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

装上后,Claude 能自动检测项目语言、安装对应的语言服务器,并配置诊断、跳转定义、查找引用、重命名等功能。

什么时候触发

当你要求配置 LSP、安装语言服务器,或遇到“未配置 LSP 服务器”等错误时触发。

装好后可以这样说
Claude 会检测项目并安装合适的服务器。
Claude 会运行检测脚本并报告状态。
Claude 会安装 gopls 并运行诊断测试。

评论

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