mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-10 12:42:25 +01:00
fix: Restrict continue comment to whitespace separated slashes (#321230)
This commit is contained in:
1 parent
1e5affb7fc
commit
9b43a71f03
13 files changed
+34
-81
No files matched your search
@@ -242,8 +242,8 @@
|
||||
},
|
||||
// Add // when pressing enter from inside line comment
|
||||
{
|
||||
"beforeText": "(?<!\\\\|\\w:)\/\/\\s*\\S",
|
||||
"afterText": "^(?!\\s*$).+",
|
||||
"beforeText": "^\\s*//|\\s//\\s",
|
||||
"afterText": "^(?!\\s*$)",
|
||||
"action": {
|
||||
"indent": "none",
|
||||
"appendText": "// "
|
||||
|
||||
Reference in new issue
Block a user