about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorasv <asv7c2@gmail.com>2021-03-06 13:02:26 +0200
committerasv <asv7c2@gmail.com>2021-03-07 10:15:17 +0200
commit96fc01a30b88d95619b26fd96c58627dd54cb339 (patch)
tree2959357aae5a465555a924db44979686999c4b4a /editors/code/package.json
parent750d3cb84678b23a55092f2e4726e48ead37a9ff (diff)
downloadrust-96fc01a30b88d95619b26fd96c58627dd54cb339.tar.gz
rust-96fc01a30b88d95619b26fd96c58627dd54cb339.zip
Make group imports configurable
Diffstat (limited to 'editors/code/package.json')
-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 1987364bc02..5f41f7803ab 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -385,6 +385,11 @@
                         "Force import paths to be absolute by always starting them with `crate` or the crate name they refer to."
                     ]
                 },
+                "rust-analyzer.assist.importGroup": {
+                    "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
+                    "default": true,
+                    "type": "boolean"
+                },
                 "rust-analyzer.callInfo.full": {
                     "markdownDescription": "Show function name and docs in parameter hints.",
                     "default": true,