diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-11-20 20:24:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-20 20:24:31 +0000 |
| commit | 4566414789310acb2617543f4b50beab4bb48e06 (patch) | |
| tree | e5862136a04369e32bafc8a8a6e8e855e7e48e5e /editors/code/package.json | |
| parent | c9c6fa8f56a2b095b5f6b7dc66a4f1db4a9a9a30 (diff) | |
| parent | a68ce62f6a33d3e5777c1d64c946e0f1d9c7f457 (diff) | |
| download | rust-4566414789310acb2617543f4b50beab4bb48e06.tar.gz rust-4566414789310acb2617543f4b50beab4bb48e06.zip | |
Merge #10810
10810: feat: Add toggle to disable cache priming r=jonas-schievink a=lnicola Even if it doesn't prevent the rest of the features from working, cache priming tends to be quite CPU-intensive and can make people think that the load times are worse than they actually are. It's also less useful in Code and `rust-tools` because the inlay hints and semantic highlighting trigger quite a bit of computation assuming you have a file open in the editor. Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index e1cbe8ba640..52ba1327459 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -445,6 +445,11 @@ "default": true, "type": "boolean" }, + "rust-analyzer.cache.warmup": { + "markdownDescription": "Warm up caches on project load.", + "default": true, + "type": "boolean" + }, "rust-analyzer.callInfo.full": { "markdownDescription": "Show function name and docs in parameter hints.", "default": true, |
