You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in your `.vscode/settings.json` file. This will ask `rust-analyzer` to use
57
-
`./x.py check` to check the sources, and the stage 0 rustfmt to format them.
25
+
of these tools when hacking on `rustc`. If using Visual Studio Code, `x.py setup`
26
+
will prompt you to create a `.vscode/settings.json` file. This will ask
27
+
`rust-analyzer` to use `./x.py check` to check the sources, and the stage 0
28
+
rustfmt to format them.
58
29
59
30
If you have enough free disk space and you would like to be able to run `x.py` commands while
60
31
rust-analyzer runs in the background, you can also add `--build-dir build-rust-analyzer` to the
61
32
`overrideCommand` to avoid x.py locking.
62
33
63
34
If you're running `coc.nvim`, you can use `:CocLocalConfig` to create a
64
-
`.vim/coc-settings.json` and enter the same settings as above, but replacing
65
-
`editor.formatOnSave: true,` with
35
+
`.vim/coc-settings.json` and copy the settings from [this file](https://github.com/rust-lang/rust/blob/master/src/etc/vscode_settings.json), but replacing `editor.formatOnSave: true,` with
0 commit comments