Skip to content

Commit dfd62cc

Browse files
Rollup merge of rust-lang#120138 - trevyn:detect-submodules-limit, r=albertlarsan68
Increase vscode settings.json `git.detectSubmodulesLimit` The default vscode git integration throws a warning on the rust repository because it has more than the default limit of 10 submodules. This adds an increase to 20 to the settings.json that x.py offers to install on setup. <img width="461" alt="Screen Shot 2024-01-19 at 11 47 47 PM" src="https://github.com/rust-lang/rust/assets/230691/440dfa4e-32e3-41f7-b8c6-5a07ade7aa14"> Also reported at https://stackoverflow.com/questions/60917209/disable-vs-code-warning-submodules-which-wont-be-opened-automatically
2 parents b917753 + 5afe139 commit dfd62cc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: src/bootstrap/src/core/build_steps/setup.rs

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ static SETTINGS_HASHES: &[&str] = &[
3737
"3468fea433c25fff60be6b71e8a215a732a7b1268b6a83bf10d024344e140541",
3838
"47d227f424bf889b0d899b9cc992d5695e1b78c406e183cd78eafefbe5488923",
3939
"b526bd58d0262dd4dda2bff5bc5515b705fb668a46235ace3e057f807963a11a",
40+
"828666b021d837a33e78d870b56d34c88a5e2c85de58b693607ec574f0c27000",
4041
];
4142
static RUST_ANALYZER_SETTINGS: &str = include_str!("../../../../etc/rust_analyzer_settings.json");
4243

Diff for: src/etc/rust_analyzer_settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"git.detectSubmodulesLimit": 20,
23
"rust-analyzer.check.invocationLocation": "root",
34
"rust-analyzer.check.invocationStrategy": "once",
45
"rust-analyzer.check.overrideCommand": [

0 commit comments

Comments
 (0)