Skip to content

Commit 580cdfa

Browse files
committed
Added project-specific Zed IDE settings
Created `.zed/settings.json` with all the settings from `.vscode/settings.json`.
1 parent 5203b7e commit 580cdfa

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

.zed/settings.json

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"format_on_save": "on",
3+
"lsp": {
4+
"rust-analyzer": {
5+
"initialization_options": {
6+
"diagnostics": {
7+
// in case rustc.source is disabled for performance reasons; disable the errors about this
8+
"disabled": ["unresolved-extern-crate", "unresolved-macro-call"]
9+
},
10+
"rustc": {
11+
"source": "discover"
12+
},
13+
"imports": {
14+
"granularity": {
15+
"enforce": true,
16+
"group": "module"
17+
},
18+
"prefix": "crate"
19+
},
20+
"cargo": {
21+
"features": ["unstable-features"]
22+
},
23+
"linkedProjects": [
24+
"./Cargo.toml",
25+
"./build_system/Cargo.toml",
26+
{
27+
"crates": [
28+
{
29+
"root_module": "./example/mini_core.rs",
30+
"edition": "2018",
31+
"deps": [],
32+
"cfg": []
33+
},
34+
{
35+
"root_module": "./example/mini_core_hello_world.rs",
36+
"edition": "2018",
37+
"deps": [
38+
{
39+
"crate": 0,
40+
"name": "mini_core"
41+
}
42+
],
43+
"cfg": []
44+
},
45+
{
46+
"root_module": "./example/mod_bench.rs",
47+
"edition": "2018",
48+
"deps": [],
49+
"cfg": []
50+
}
51+
]
52+
},
53+
{
54+
"sysroot_src": "./build/stdlib/library",
55+
"crates": [
56+
{
57+
"root_module": "./example/std_example.rs",
58+
"edition": "2015",
59+
"deps": [],
60+
"cfg": []
61+
}
62+
]
63+
}
64+
]
65+
}
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)