Files
Claude-Code-Workflow/codex-lens/lsp-servers.json
catlog22 261c98549d feat: Implement association tree for LSP-based code relationship discovery
- Add `association_tree` module with components for building and processing call association trees using LSP call hierarchy capabilities.
- Introduce `AssociationTreeBuilder` for constructing call trees from seed locations with depth-first expansion.
- Create data structures: `TreeNode`, `CallTree`, and `UniqueNode` for representing nodes and relationships in the call tree.
- Implement `ResultDeduplicator` to extract unique nodes from call trees and assign relevance scores based on depth, frequency, and kind.
- Add unit tests for `AssociationTreeBuilder` and `ResultDeduplicator` to ensure functionality and correctness.
2026-01-20 22:09:04 +08:00

89 lines
2.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"version": "1.0.0",
"description": "Language Server configuration for codex-lens standalone LSP client",
"servers": [
{
"languageId": "python",
"displayName": "Pyright",
"extensions": ["py", "pyi"],
"command": ["pyright-langserver", "--stdio"],
"enabled": true,
"initializationOptions": {
"pythonPath": "",
"pythonPlatform": "",
"pythonVersion": "3.13"
},
"settings": {
"python.analysis": {
"typeCheckingMode": "standard",
"diagnosticMode": "workspace",
"exclude": ["**/node_modules", "**/__pycache__", "build", "dist"],
"include": ["src/**", "tests/**"],
"stubPath": "typings"
}
}
},
{
"languageId": "typescript",
"displayName": "TypeScript Language Server",
"extensions": ["ts", "tsx"],
"command": ["typescript-language-server.cmd", "--stdio"],
"enabled": true,
"initializationOptions": {},
"settings": {}
},
{
"languageId": "javascript",
"displayName": "TypeScript Language Server (for JS)",
"extensions": ["js", "jsx", "mjs", "cjs"],
"command": ["typescript-language-server.cmd", "--stdio"],
"enabled": true,
"initializationOptions": {},
"settings": {}
},
{
"languageId": "go",
"displayName": "Gopls",
"extensions": ["go"],
"command": ["gopls", "serve"],
"enabled": true,
"initializationOptions": {},
"settings": {}
},
{
"languageId": "rust",
"displayName": "Rust Analyzer",
"extensions": ["rs"],
"command": ["rust-analyzer"],
"enabled": false,
"initializationOptions": {},
"settings": {}
},
{
"languageId": "c",
"displayName": "Clangd",
"extensions": ["c", "h"],
"command": ["clangd"],
"enabled": false,
"initializationOptions": {},
"settings": {}
},
{
"languageId": "cpp",
"displayName": "Clangd",
"extensions": ["cpp", "hpp", "cc", "cxx"],
"command": ["clangd"],
"enabled": false,
"initializationOptions": {},
"settings": {}
}
],
"defaults": {
"rootDir": ".",
"timeout": 30000,
"restartInterval": 5000,
"maxRestarts": 3
}
}