diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-03-25 20:54:24 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-03-25 20:54:24 +0100 |
| commit | 586db0790c2bdcf4bb083f828e7c6f83a8d52a42 (patch) | |
| tree | 8cccba8867979344e9ca8f248c51085f1c1511e1 /docs/dev | |
| parent | d1c798439654bded00fb7d92fae549ba8cd586f3 (diff) | |
| download | rust-586db0790c2bdcf4bb083f828e7c6f83a8d52a42.tar.gz rust-586db0790c2bdcf4bb083f828e7c6f83a8d52a42.zip | |
minor: Add user facing command for reloading proc-macros in VSCode
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/lsp-extensions.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 11eda94f5bb..c157bab590e 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -422,6 +422,16 @@ Returns internal status message, mostly for debugging purposes. Reloads project information (that is, re-executes `cargo metadata`). +## Reload proc-macros + +**Method:** `rust-analyzer/reloadProcMacros` + +**Request:** `null` + +**Response:** `null` + +Rebuilds build scripts and proc-macros, and runs the build scripts to reseed the build data. + ## Server Status **Experimental Client Capability:** `{ "serverStatusNotification": boolean }` |
