about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2021-06-18 23:11:56 +0200
committerLukas Wirth <lukastw97@gmail.com>2021-06-18 23:11:56 +0200
commit2ee090faaf69474a2baadf0494ef3c6ed4fdbcbc (patch)
treee67e1f3404fefb2dc3999b94f86bc9cbcca33dd1 /editors/code
parent84507a0b9c2e8f6e632ad9ec649cd1f21a7e0887 (diff)
downloadrust-2ee090faaf69474a2baadf0494ef3c6ed4fdbcbc.tar.gz
rust-2ee090faaf69474a2baadf0494ef3c6ed4fdbcbc.zip
Allow to disable import insertion on single path glob imports
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 1fac700bedf..c077bd2c0ad 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -432,6 +432,11 @@
                     "default": true,
                     "type": "boolean"
                 },
+                "rust-analyzer.assist.allowMergingIntoGlobImports": {
+                    "markdownDescription": "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.",
+                    "default": true,
+                    "type": "boolean"
+                },
                 "rust-analyzer.callInfo.full": {
                     "markdownDescription": "Show function name and docs in parameter hints.",
                     "default": true,