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
commit f5238432ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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`