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:
Aiday Marlen Kyzy
2024-12-10 16:49:07 +01:00
committed by GitHub
parent 7d69a1c962
commit c0d25ffb56
13 changed files with 13 additions and 13 deletions

View File

@@ -231,7 +231,7 @@
// Add // when pressing enter from inside line comment
{
"beforeText": {
"pattern": "^(?:\"[^\"]*\"|'[^']*'|`[^`]*`|[^\"'`]*)*\/\/"
"pattern": "\/\/.*"
},
"afterText": {
"pattern": "^(?!\\s*$).+"