typescript-lsp
bowen31337 द्वारा
Web & Frontend Developmentसंक्षिप्त
TypeScript language server providing type checking, code intelligence, and LSP diagnostics for .ts, .tsx, .js.
विवरण
यह स्किल क्या करती है
TypeScript/JavaScript language server providing type checking, code intelligence, and LSP diagnostics through typescript-language-server. Supports .ts, .tsx, .js, .jsx, .mts, .cts, .mjs, and .cjs files. Runs automatically in LSP-compatible editors or via the tsc command line.
Surfaces type errors and code navigation in the editor in real time, catching bugs that runtime testing or linting alone would miss.
इसे कब इस्तेमाल करें
- Catching type errors before committing code
- Navigating a large codebase with go-to-definition
- Renaming a variable or function across multiple files
- Organizing imports in TypeScript or React components
- Running continuous type checks while refactoring
उदाहरण वर्कफ़्लो
User asks: Check my TypeScript project for type errors
- 1
Run tsc --noEmit in the project root
- 2
Parse compiler output for errors and their locations
- 3
Group errors by file
- 4
Report each error with filename, line number, and description
List of type errors with file paths and line numbers, or confirmation that the project is error-free
आवश्यकताएँ
- typescript-language-server npm package installed globally
- typescript npm package installed globally
इंस्टॉलेशन
clawhub install bowen31337/typescript-lspCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।