Open
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.99.3
- OS Version: MacOS
- Language: TypeScript
Steps to Reproduce:
- type text in editor
[/</g, />/g]
- do enter after
,
Expect
the editor value be:
[/</g,
/>/g]
Actual
[/</g,
// />/g]
Maybe
It matches this rule.
vscode/extensions/typescript-basics/language-configuration.json
Lines 250 to 261 in 2b7f830
Normally, the beforeText which is [/</g
not matches the pattern.
But at some situation i don't know, the beforeText be transformed to [//g
which lost the character <
and make it matched.