Commit Graph

12 Commits

Author SHA1 Message Date
bjorn3 3fe3edbcde Add --compile-time-deps argument for x check
This reduces the amount of time it takes to do the x check for
rust-analyzer analysis from 12m16s to 3m34s when the bootstrap compiler
is already downloaded.
2025-07-11 12:34:17 +00:00
Chai T. Rex a6bf524975 Update IDEs to use rustfmt 2024, fix Zed settings
- Update IDE `rust-analyzer` settings to use 2024 rather than 2021.
- Fix Zed settings by removing `${workspaceFolder}/` from paths.
2025-05-15 20:38:03 -04:00
Thalia Archibald d1e82ba37c Setup editor file associations for non-rs extensions
.gitattributes lists *.fixed, *.pp, and *.mir as file extensions which
should be treated as Rust source code. Do the same for VS Code and Zed.
This only does syntax highlighting, which is appropriate, as MIR isn't
really Rust code.

At the same time, consistently order `rust-analyzer.linkedProjects`
between editors. For some reason, Eglot didn't include
library/Cargo.toml.
2025-04-14 23:16:11 -07:00
Josh Stone 8c91fae5be Remove separate src/tools/x from rust-analyzer settings 2025-03-13 12:21:21 -07:00
Ralf Jung fd13717815 rust_analyzer_settings: force use of 'nightly' toolchain 2024-12-01 22:54:08 +01:00
yukang b6a49d8969 Remove unncessary option for default rust-analyzer setting 2024-11-01 13:11:51 +08:00
bjorn3 4788e8c34a Add the library workspace to the suggested rust-analyzer config 2024-09-18 14:48:30 +00:00
trevyn 5afe1399b5 Increase vscode git.detectSubmodulesLimit 2024-01-19 23:46:17 +04:00
Ralf Jung 6dbcf5fc81 update rust_analyzer_settings.json 2023-09-14 09:58:43 +02:00
Michael Howell a62e30ee3f etc: add RUSTC_BOOTSTRAP to rust-analyzer config
Fixes the problem reported in
https://github.com/rust-lang/rust/issues/112391#issuecomment-1597224941
2023-07-20 16:53:23 -07:00
jyn 8458c6adb1 Add other workspaces to linkedProjects in rust_analyzer_settings.json
This makes go-to-definition, etc. work in cg_clif, cg_gcc, rust-analyzer, and src/tools/x.
2023-05-26 12:08:58 -05:00
KittyBorgX a90e7d4658 Rename src/etc/vscode_settings.json to rust_analyzer_settings.json 2023-03-01 22:58:05 +05:30