diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-11-24 23:40:05 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-24 23:40:05 +0000 |
commit | 9b512f8569dda32fe2d12114adeed2f612d0190f (patch) | |
tree | de4a605a37481f12db88ae8fc9dc00cd2bc801b0 /editors | |
parent | 5478aaebfe4d9d2ad7745702932bf40b2cad226b (diff) | |
parent | 9812150047ea5f53631762e83ed25177e821857f (diff) |
Merge #6631
6631: Gate autoimports begind experimental completions flag r=kjeremy a=SomeoneToIgnore
Part of https://github.com/rust-analyzer/rust-analyzer/issues/6612
Adds a possibility to disable autoimports:
<img width="598" alt="image" src="https://user-images.githubusercontent.com/2690773/100156673-f8037f80-2eb1-11eb-8e74-59ebe4260ba3.png">
and other experimental completions we might want to add later.
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'editors')
-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 a2d6b1148..5bf72075f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -460,6 +460,11 @@ | |||
460 | "default": true, | 460 | "default": true, |
461 | "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc." | 461 | "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc." |
462 | }, | 462 | }, |
463 | "rust-analyzer.completion.enableExperimental": { | ||
464 | "type": "boolean", | ||
465 | "default": true, | ||
466 | "markdownDescription": "Display additional completions with potential false positives and performance issues" | ||
467 | }, | ||
463 | "rust-analyzer.callInfo.full": { | 468 | "rust-analyzer.callInfo.full": { |
464 | "type": "boolean", | 469 | "type": "boolean", |
465 | "default": true, | 470 | "default": true, |