Open
Description
Brackets Snippet in replace mode deletes char when prefix already exists
Steps to Reproduce:
- Set
editor.suggest.insertMode
toreplace
- Create new global snippet
workbench.action.openSnippets
- Create new
plaintext
file with example text
()!!
()
()aa
- Place cursor in-between brackets
- Press ctrl+space and select
Brackets
Snippet
Expected:
nothing
(Cursor moves 1 to the right)
Actual:
1 character is deleted after the ()
🐛
doesn't matter if the char is a wordPattern
or wordSeparator
or whitespace
Notice that using other characters other than brackets ()
does not result in chars being deleted
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.95.3
- OS Version: Windows 11