Skip to content

Commit 78c717e

Browse files
committed
Add Zed to dev guide suggested workflows page
1 parent 8417684 commit 78c717e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/doc/rustc-dev-guide/src/building/suggested.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,17 @@ You can run `./x setup editor` and select `helix`, which will prompt you to
154154
create `languages.toml` with the recommended configuration for Helix. The
155155
recommended settings live at [`src/etc/rust_analyzer_helix.toml`].
156156

157+
### Zed
158+
159+
Zed comes with built-in LSP and rust-analyzer support.
160+
It can be configured through `.zed/settings.json`, as described
161+
[here](https://zed.dev/docs/configuring-languages).
162+
163+
Selecting `zed` in `./x setup editor` will prompt you to create a
164+
`.zed/settings.json` file which will configure Zed with the recommended
165+
configuration. The recommended `rust-analyzer` settings live at
166+
[`src/etc/rust_analyzer_zed.json`].
167+
157168
## Check, check, and check again
158169

159170
When doing simple refactoring, it can be useful to run `./x check`

0 commit comments

Comments
 (0)