about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-08-03 18:22:45 +0200
committerLukas Wirth <lukastw97@gmail.com>2022-08-03 18:22:45 +0200
commit46d6357994eb8ced835a69390dfbf01abed40ee1 (patch)
tree26f5dc80e31df9624e54be6015c0968aa75bebf3 /editors/code/package.json
parentec3586eab943d7c6c83d211f629a691fc8c14603 (diff)
downloadrust-46d6357994eb8ced835a69390dfbf01abed40ee1.tar.gz
rust-46d6357994eb8ced835a69390dfbf01abed40ee1.zip
Add a setting to disable comment continuation in VSCode
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 a13798d8b36..39ff3eb0855 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -380,6 +380,11 @@
                     "default": false,
                     "type": "boolean"
                 },
+                "rust-analyzer.typing.continueCommentsOnNewline": {
+                    "markdownDescription": "Whether to prefix newlines after comments with the corresponding comment prefix.",
+                    "default": true,
+                    "type": "boolean"
+                },
                 "$generated-start": {},
                 "rust-analyzer.assist.expressionFillDefault": {
                     "markdownDescription": "Placeholder expression to use for missing expressions in assists.",