diff options
author | Lukas Wirth <[email protected]> | 2020-09-12 10:55:01 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-09-12 11:11:16 +0100 |
commit | adc4c6b9d7fd91827c4cf383a1e95dc7e27138e0 (patch) | |
tree | 52e7715aed7a83da34c0c6c139d3651dd255629e /editors | |
parent | c8623461a57e7882ac47b5da13a1a03efa58f603 (diff) |
Make MergeBehaviour configurable
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 6fc4464df..858e4c4f5 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -626,6 +626,21 @@ | |||
626 | }, | 626 | }, |
627 | "description": "List of warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in the problems panel.", | 627 | "description": "List of warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in the problems panel.", |
628 | "default": [] | 628 | "default": [] |
629 | }, | ||
630 | "rust-analyzer.assist.importMergeBehaviour": { | ||
631 | "type": "string", | ||
632 | "enum": [ | ||
633 | "none", | ||
634 | "full", | ||
635 | "last" | ||
636 | ], | ||
637 | "enumDescriptions": [ | ||
638 | "No merging", | ||
639 | "Merge all layers of the import trees", | ||
640 | "Only merge the last layer of the import trees" | ||
641 | ], | ||
642 | "default": "full", | ||
643 | "description": "The strategy to use when inserting new imports or merging imports." | ||
629 | } | 644 | } |
630 | } | 645 | } |
631 | }, | 646 | }, |