@@ -40,7 +40,7 @@ use crate::{AssistContext, AssistId, AssistKind, Assists, GroupLabel};
40
40
//
41
41
// .Import Granularity
42
42
//
43
- // It is possible to configure how use-trees are merged with the `importGranularity ` setting.
43
+ // It is possible to configure how use-trees are merged with the `imports.granularity.group ` setting.
44
44
// It has the following configurations:
45
45
//
46
46
// - `crate`: Merge imports from the same crate into a single use statement. This kind of
@@ -50,11 +50,11 @@ use crate::{AssistContext, AssistId, AssistKind, Assists, GroupLabel};
50
50
// - `preserve`: Do not change the granularity of any imports. For auto-import this has the same
51
51
// effect as `item`.
52
52
//
53
- // In `VS Code` the configuration for this is `rust-analyzer.assist.importGranularity `.
53
+ // In `VS Code` the configuration for this is `rust-analyzer.imports.granularity.group `.
54
54
//
55
55
// .Import Prefix
56
56
//
57
- // The style of imports in the same crate is configurable through the `importPrefix ` setting.
57
+ // The style of imports in the same crate is configurable through the `imports.prefix ` setting.
58
58
// It has the following configurations:
59
59
//
60
60
// - `crate`: This setting will force paths to be always absolute, starting with the `crate`
@@ -64,7 +64,7 @@ use crate::{AssistContext, AssistId, AssistKind, Assists, GroupLabel};
64
64
// `super` or an extern crate identifier.
65
65
// - `plain`: This setting does not impose any restrictions in imports.
66
66
//
67
- // In `VS Code` the configuration for this is `rust-analyzer.assist.importPrefix `.
67
+ // In `VS Code` the configuration for this is `rust-analyzer.imports.prefix `.
68
68
//
69
69
// image::https://user-images.githubusercontent.com/48062697/113020673-b85be580-917a-11eb-9022-59585f35d4f8.gif[]
70
70
0 commit comments