mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-02 06:14:15 +01:00
Performance regression: revert "Ignoring double slashes inside of strings" (#235742)
Revert "onEnter Indentation Rules: Ignoring double slashes inside of strings …"
This reverts commit 21c52a4a3a.
This commit is contained in:
@@ -231,7 +231,7 @@
|
||||
// Add // when pressing enter from inside line comment
|
||||
{
|
||||
"beforeText": {
|
||||
"pattern": "^(?:\"[^\"]*\"|'[^']*'|`[^`]*`|[^\"'`]*)*\/\/"
|
||||
"pattern": "\/\/.*"
|
||||
},
|
||||
"afterText": {
|
||||
"pattern": "^(?!\\s*$).+"
|
||||
|
||||
Reference in New Issue
Block a user