Suggest a separate build directory for rust-analyzer (#1378)
This commit is contained in:
parent
32d3192152
commit
96c3ff376a
|
|
@ -61,6 +61,10 @@ in your `.vscode/settings.json` file. This will ask `rust-analyzer` to use
|
|||
> a triple is `x86_64-unknown-linux-gnu`. An easy way to check your target triple
|
||||
> is to run `rustc -vV` and checking the `host` value of its output.
|
||||
|
||||
If you have enough free disk space and you would like to be able to run `x.py` commands while
|
||||
rust-analyzer runs in the background, you can also add `--build-dir build-rust-analyzer` to the
|
||||
`overrideCommand` to avoid x.py locking.
|
||||
|
||||
If you're running `coc.nvim`, you can use `:CocLocalConfig` to create a
|
||||
`.vim/coc-settings.json` and enter the same settings as above, but replacing
|
||||
`editor.formatOnSave: true,` with
|
||||
|
|
|
|||
Loading…
Reference in New Issue