zardoy / vscode-better-snippets

Create most advanced snippets for VSCode in existence
https://marketplace.visualstudio.com/items?itemName=zardoy.better-snippets
MIT License
6 stars 0 forks source link

Typing snippets are inserted in incorrect Position #28

Closed Ilanaya closed 1 year ago

Ilanaya commented 1 year ago

Since latest vscode update(and previously vscode-insiders) I started experiencing typing snippets are inserted in incorrect Position. (this even made me use default vscode as I just can't write code without this extension now) Example:

https://user-images.githubusercontent.com/74474615/216970854-62b7c236-35ed-4eb4-a99f-1dc26ff9596e.mp4

Didn't dive into it but looks like smth has changed with the editor.insertSnippet() behaviour. Gonna propose quick solution in a minute

zardoy commented 1 year ago

this even made me use default vscode

What do you mean ?

Ilanaya commented 1 year ago

this even made me use default vscode

What do you mean ?

I mean this didn't reproduce in vscode-stable before 1.75, so I used it instead of code-insiders as correct work of your extension is essential for me. I mentioned it because I saw you are primarily using code-insiders on your machine, so you maybe already did some workarounds.