Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Fomalhaut647v2.1.0Apache-2.0In 1 marketplace
TypeScript/JavaScript code intelligence through TypeScript 7's built-in language server (tsc --lsp), with a relay that pushes its diagnostics to Claude Code. Adapted from Anthropic's claude-plugins-official (Apache-2.0).
Language servers for diagnostics and code navigation.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
让 Claude Code 通过 TypeScript 7 自带的语言服务器(tsc --lsp)理解 TypeScript 和 JavaScript 代码:改完文件自动拿到类型错误等诊断,还能跳转定义、查找引用。
改编自 Anthropic 官方 marketplace claude-plugins-official 中的 typescript-lsp(plugin 版本 1.0.0,上游提交 58267944),方便在 Claude 桌面端从本 marketplace 安装。和上游的区别:
tsc --lsp --stdio。TypeScript 7 用 Go 重写后不再带 typescript-language-server 依赖的 tsserver,Homebrew 的 TypeScript 升到 7 之后,上游配置就启动不了了。scripts/diagnostics_relay.py)。TypeScript 7 的语言服务器只在被问到时才给错误,Claude Code 只收主动推送的错误,没有这一层的话改完文件看不到类型错误。转发层在每次打开、改动、保存文件后替 Claude Code 去要错误,再推给它;其他消息原样转发。改一个文件时,其他打开着的文件也会重查,错误有变化才推送。.lsp.json。从 v2.0.0 起版本号自行维护,不再跟随上游。
plugin 只告诉 Claude Code 怎么启动语言服务器,TypeScript 7 或更新版本的 tsc 命令要自己装好、能在 PATH 里找到:
brew install typescript
也可以用 npm install -g typescript。TypeScript 6 及更早版本的 tsc 没有 --lsp 模式,用不了。
转发层用 python3 运行,只用标准库。macOS 装了命令行工具就自带,也可以 brew install python。
/plugin marketplace add Fomalhaut647/plugins
/plugin install typescript-lsp@fomalhaut647-plugins
.ts、.tsx、.js、.jsx、.mts、.cts、.mjs、.cjs
Apache-2.0,上游作者为 Anthropic —— 见本目录的 LICENSE。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub fomalhaut647/plugins --plugin typescript-lspPlugins from other owners that cover similar ground