implement range formatting

This commit is contained in:
Andy Russell 2021-05-04 17:13:51 -04:00
parent 1605488710
commit a90b9a5872
No known key found for this signature in database
GPG key ID: BE2221033EDBC374
6 changed files with 167 additions and 102 deletions

View file

@ -795,6 +795,11 @@
"type": "string"
}
},
"rust-analyzer.rustfmt.enableRangeFormatting": {
"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.",
"default": false,
"type": "boolean"
},
"rust-analyzer.workspace.symbol.search.scope": {
"markdownDescription": "Workspace symbol search scope.",
"default": "workspace",