bracket-lens-vscode
bracket-lens-vscode copied to clipboard
Js regex error not working correctly
not working
with regex
without regex
please fix this issue
This extension is not a result of a proper understanding of a language, and is realized through fairly sloppy processing, so please consider this to be a specification. At least this issue will not be fixed as a bug.
However, this does not mean that there is no workaround for the problem. If you don't use multiline strings, disable it with a setting like this:
"[javascript]": {
"bracketLens.languageConfiguration": {
"ignoreCase": false,
"comments": {
"block": [
{
"opening": "/*",
"closing": "*/"
}
],
"line": [
"//"
]
},
"brackets": {
"symbol": [
{
"opening": "(",
"closing": ")",
"headerMode": "smart",
"inters": []
},
{
"opening": "[",
"closing": "]",
"headerMode": "smart",
"inters": []
},
{
"opening": "{",
"closing": "}",
"headerMode": "smart",
"inters": []
}
],
"word": []
},
"strings": {
"inline": [
{
"opening": "\"",
"closing": "\"",
"escape": [
"\\\\",
"\\\""
]
},
{
"opening": "'",
"closing": "'",
"escape": [
"\\\\",
"\\'"
]
}
]
},
"terminators": [
";",
","
],
"ignoreSymbols": [
"\\//"
]
}
},
( delete strings/multiline from default )