mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Document viewCrateGraph request
This commit is contained in:
parent
9e6d9baf2e
commit
b8d40a02a9
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<!---
|
<!---
|
||||||
lsp_ext.rs hash: 28a9d5a24b7ca396
|
lsp_ext.rs hash: 6e57fc1b345b00e9
|
||||||
|
|
||||||
If you need to change the above hash to make the test pass, please check if you
|
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:
|
need to adjust this doc as well and ping this issue:
|
||||||
|
@ -486,6 +486,16 @@ Primarily for debugging, but very useful for all people working on rust-analyzer
|
||||||
Returns a textual representation of the HIR of the function containing the cursor.
|
Returns a textual representation of the HIR of the function containing the cursor.
|
||||||
For debugging or when working on rust-analyzer itself.
|
For debugging or when working on rust-analyzer itself.
|
||||||
|
|
||||||
|
## View Crate Graph
|
||||||
|
|
||||||
|
**Method:** `rust-analyzer/viewCrateGraph`
|
||||||
|
|
||||||
|
**Request:** `null`
|
||||||
|
|
||||||
|
**Response:** `string`
|
||||||
|
|
||||||
|
Renders rust-analyzer's crate graph as an SVG image.
|
||||||
|
|
||||||
## Expand Macro
|
## Expand Macro
|
||||||
|
|
||||||
**Method:** `rust-analyzer/expandMacro`
|
**Method:** `rust-analyzer/expandMacro`
|
||||||
|
|
Loading…
Reference in a new issue