Merge pull request #20172 from vxpm/syntax-tree-extension

remove `rust-analyzer/syntaxTree` from docs
This commit is contained in:
Chayim Refael Friedman
2025-07-05 19:43:19 +00:00
committed by GitHub

View File

@@ -694,24 +694,6 @@ interface CancelFlycheckParams {}
Cancels all running flycheck processes.
## Syntax Tree
**Method:** `rust-analyzer/syntaxTree`
**Request:**
```typescript
interface SyntaxTreeParams {
textDocument: TextDocumentIdentifier,
range?: Range,
}
```
**Response:** `string`
Returns textual representation of a parse tree for the file/selected region.
Primarily for debugging, but very useful for all people working on rust-analyzer itself.
## View Syntax Tree
**Method:** `rust-analyzer/viewSyntaxTree`