mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
Merge pull request #20172 from vxpm/syntax-tree-extension
remove `rust-analyzer/syntaxTree` from docs
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user