mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-04 01:40:45 +08:00
- 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.
89 lines
2.3 KiB
JSON
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
|
|
}
|
|
}
|