Retrieve definitions, identifiers, references, and related graph data.
Command | Description |
---|---|
Definitions in File | List all symbol definitions in a specific file. |
Find Definition | Find the definition of the identifier at a given position. |
Find Identifier | Find identifiers by name within a file. |
Find Referenced Symbols | Find symbols referenced by the identifier at a given position. |
Find References | Find all references to the identifier at a given position. |
line:char
(e.g. 0:0
for the first character of the first line).line:char
(e.g., 0:0
for the first character of the first line).Argument | Description | Required |
---|---|---|
file | Path relative to workspace root | ✅ |
position | Position in line:char format (0-indexed) | ✅ |
Option | Description | Default |
---|---|---|
--lsp-url <url> | Nuanced LSP base URL | "http://127.0.0.1" |
--lsp-port <n> | Port for Nuanced LSP | 4444 |
--timeout <s> | Timeout seconds (<=0 to skip) | 120 |
FindDefinitionResult
:Argument | Description | Required |
---|---|---|
file | Path relative to workspace root | ✅ |
name | Identifier name to search for | ✅ |
Option | Description | Default |
---|---|---|
--position <line:char> | Optional seed position (0-indexed line:char ) | — |
--lsp-url <url> | Nuanced LSP base URL | "http://127.0.0.1" |
--lsp-port <n> | Port for Nuanced LSP | 4444 |
--timeout <s> | Timeout seconds (<=0 to skip) | 120 |
FindIdentifierResult
:Without positionOption | Description | Default |
---|---|---|
file | Path relative to workspace root | — |
position | Position in line:char format (0-indexed) | — |
--full-scan | Perform a broader workspace scan for references | false |
--lsp-url <url> | Nuanced LSP base URL | "http://127.0.0.1" |
--lsp-port <n> | Port for Nuanced LSP | 4444 |
--timeout <s> | Timeout seconds (<=0 to skip) | 120 |
FindReferencedSymbolsResult
(excerpt):Argument | Description | Required |
---|---|---|
file | Path relative to workspace root | ✅ |
position | Position in line:char format (0-indexed) | ✅ |
Option | Description | Default |
---|---|---|
--context-lines <n> | Include n lines of surrounding code for each reference | 0 |
--lsp-url <url> | Nuanced LSP base URL | "http://127.0.0.1" |
--lsp-port <n> | Port for Nuanced LSP | 4444 |
--timeout <s> | Timeout seconds (<=0 to skip) | 120 |
FindReferencesResult
(excerpt):