diff options
author | Andy Russell <[email protected]> | 2021-05-04 22:13:51 +0100 |
---|---|---|
committer | Andy Russell <[email protected]> | 2021-05-23 20:50:36 +0100 |
commit | a90b9a5872c9c916733816e1e0d8c95cb09bfcba (patch) | |
tree | 6b170854407d2ed0e667623c8cdf1fb4a844230c /editors | |
parent | 16054887102104208f4a0fc0e75e702b85a2eae8 (diff) |
implement range formatting
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 17d9281ff..05cbccf94 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -795,6 +795,11 @@ | |||
795 | "type": "string" | 795 | "type": "string" |
796 | } | 796 | } |
797 | }, | 797 | }, |
798 | "rust-analyzer.rustfmt.enableRangeFormatting": { | ||
799 | "markdownDescription": "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.", | ||
800 | "default": false, | ||
801 | "type": "boolean" | ||
802 | }, | ||
798 | "rust-analyzer.workspace.symbol.search.scope": { | 803 | "rust-analyzer.workspace.symbol.search.scope": { |
799 | "markdownDescription": "Workspace symbol search scope.", | 804 | "markdownDescription": "Workspace symbol search scope.", |
800 | "default": "workspace", | 805 | "default": "workspace", |