Skip to content

Commit bc6beb2

Browse files
committed
add docs mention
1 parent 3087db5 commit bc6beb2

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

docs/src/Development/setup.md

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,8 @@ this crate contains a work in progress `xtask` setup which in theory should allo
66
cargo xtask init
77
```
88

9-
However at the moment it does not generate IDE specific files for you, so you will need to do that manually.
9+
This command currently supports the following IDE's
1010

11-
## VScode
11+
- [VSCode](https://code.visualstudio.com/)
1212

13-
For vscode you will want to enter the following into your `settings.json`
14-
15-
```json
16-
{
17-
"rust-analyzer.rustc.source": "discover",
18-
"rust-analyzer.linkedProjects": [
19-
// "./crates/bevy_api_gen/Cargo.toml", uncommenting this is currently not fully supported with xtask + vscode, rust analyzer bugs out a lot sadly
20-
"Cargo.toml",
21-
],
22-
"rust-analyzer.check.invocationStrategy": "once",
23-
"rust-analyzer.check.overrideCommand": [
24-
"/absolute-path-to-this-project/bevy_mod_scripting/check.sh"
25-
],
26-
"rust-analyzer.cargo.buildScripts.overrideCommand": [
27-
"/absolute-path-to-this-project/bevy_mod_scripting/check.sh"
28-
],
29-
}
30-
```
31-
32-
If you are on windows you might need to create an equivalent `check.exe` to run `cargo xtask check --ide-mode` in the root directory of this workspace.
13+
If you'd like to add support for another IDE, please feel free to open a PR!

0 commit comments

Comments
 (0)