diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-09 20:21:47 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-09 20:21:47 +0000 |
commit | 2eb1c34f8501869ca83ec81f67db8bc0612f8d68 (patch) | |
tree | 58b064cb20ee164df98d230ebf22ed39b8e64a10 /docs/dev/README.md | |
parent | 1b9b13b4b4a75b5531c3f046ce6bf72d681f2732 (diff) | |
parent | 843d00ec9d20bab9993f45d852a4f2c70a4b10d8 (diff) |
Merge #3071
3071: Freshen docs for prebuilt binaries and raLspServer setting r=matklad a=Veetaha
Better documented breaking changes as per an incident in #2988
Follow up for #3053
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'docs/dev/README.md')
-rw-r--r-- | docs/dev/README.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md index 732e4bdd3..991deaf90 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md | |||
@@ -74,7 +74,7 @@ relevant test and execute it (VS Code includes an action for running a single | |||
74 | test). | 74 | test). |
75 | 75 | ||
76 | However, launching a VS Code instance with locally build language server is | 76 | However, launching a VS Code instance with locally build language server is |
77 | possible. There's "Run Extension (Dev Server)" launch configuration for this. | 77 | possible. There's **"Run Extension (Dev Server)"** launch configuration for this. |
78 | 78 | ||
79 | In general, I use one of the following workflows for fixing bugs and | 79 | In general, I use one of the following workflows for fixing bugs and |
80 | implementing features. | 80 | implementing features. |
@@ -88,7 +88,14 @@ Code to sanity check that the thing works as I expect. | |||
88 | 88 | ||
89 | If the problem concerns only the VS Code extension, I use **Run Extension** | 89 | If the problem concerns only the VS Code extension, I use **Run Extension** |
90 | launch configuration from `launch.json`. Notably, this uses the usual | 90 | launch configuration from `launch.json`. Notably, this uses the usual |
91 | `ra_lsp_server` binary from `PATH`. After I am done with the fix, I use `cargo | 91 | `ra_lsp_server` binary from `PATH`. For this it is important to have the following |
92 | in `setting.json` file: | ||
93 | ```json | ||
94 | { | ||
95 | "rust-analyzer.raLspServerPath": "ra_lsp_server" | ||
96 | } | ||
97 | ``` | ||
98 | After I am done with the fix, I use `cargo | ||
92 | xtask install --client-code` to try the new extension for real. | 99 | xtask install --client-code` to try the new extension for real. |
93 | 100 | ||
94 | If I need to fix something in the `ra_lsp_server` crate, I feel sad because it's | 101 | If I need to fix something in the `ra_lsp_server` crate, I feel sad because it's |