Unnamed repository; edit this file 'description' to name the repository.
Update lsp-extensions.md
Jonas Schievink 2021-12-07
parent deb5c14 · commit 0db5aac
-rw-r--r--docs/dev/lsp-extensions.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index b925f146a7..c92395553c 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -1,5 +1,5 @@
<!---
-lsp_ext.rs hash: c6568e4035333f3a
+lsp_ext.rs hash: 49ffd619919ed74
If you need to change the above hash to make the test pass, please check if you
need to adjust this doc as well and ping this issue:
@@ -526,6 +526,14 @@ Renders rust-analyzer's crate graph as an SVG image.
If `full` is `true`, the graph includes non-workspace crates (crates.io dependencies as well as sysroot crates).
+## Shuffle Crate Graph
+
+**Method:** `rust-analyzer/shuffleCrateGraph`
+
+**Request:** `null`
+
+Shuffles the crate IDs in the crate graph, for debugging purposes.
+
## Expand Macro
**Method:** `rust-analyzer/expandMacro`