-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Open
Labels
area:toolsenhancementNew feature or requestNew feature or requestplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOS
Description
Feature Request
The Claude Code CLI has an LSP tool (LSP with operations like goToDefinition, findReferences, hover, etc.), but it currently returns "No LSP server available for file type" even when language servers are installed globally.
Current Behavior
LSP tool call: goToDefinition on .ts file
Result: "No LSP server available for file type: .ts"
This occurs even with typescript-language-server and pyright installed globally via npm.
Requested Behavior
The LSP tool should:
- Auto-discover installed language servers (typescript-language-server, pyright, gopls, etc.)
- Or allow configuration in ~/.claude/settings.json to specify server paths
- Enable faster, type-aware code navigation vs. grep-based searches
Use Case
When working on large codebases, LSP provides:
- Precise "Go to Definition" (not just text matching)
- Type-aware "Find References"
- Hover documentation
- Call hierarchy analysis
This would significantly speed up code exploration tasks.
Environment
- Claude Code CLI (latest)
- macOS with globally installed: typescript-language-server, pyright
- Projects: TypeScript/Next.js, Python
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:toolsenhancementNew feature or requestNew feature or requestplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOS