about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-07-05 19:43:19 +0000
committerGitHub <noreply@github.com>2025-07-05 19:43:19 +0000
commitf5238432ce0f0b1bdabeb89daefceda423cfbb9a (patch)
tree649c657484a026d3c9e84a55175082fa3b9a4a25 /src
parent4b506ca0e1821e71fd8a6c7434dc02b5bd432a34 (diff)
parentbabbafb1c16c928e41726982445946de0fd3d143 (diff)
downloadrust-f5238432ce0f0b1bdabeb89daefceda423cfbb9a.tar.gz
rust-f5238432ce0f0b1bdabeb89daefceda423cfbb9a.zip
Merge pull request #20172 from vxpm/syntax-tree-extension
remove `rust-analyzer/syntaxTree` from docs
Diffstat (limited to 'src')
-rw-r--r--src/tools/rust-analyzer/docs/book/src/contributing/lsp-extensions.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/tools/rust-analyzer/docs/book/src/contributing/lsp-extensions.md b/src/tools/rust-analyzer/docs/book/src/contributing/lsp-extensions.md
index 1ada1cb24c2..8c06f33a9f7 100644
--- a/src/tools/rust-analyzer/docs/book/src/contributing/lsp-extensions.md
+++ b/src/tools/rust-analyzer/docs/book/src/contributing/lsp-extensions.md
@@ -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`