yatki / vscode-surround

πŸ”₯ A simple yet powerful extension to add wrapper templates around your code blocks
https://marketplace.visualstudio.com/items?itemName=yatki.vscode-surround
MIT License
899 stars 40 forks source link

Custom snippet list is broken after first surround #83

Closed haoadoreorange closed 2 years ago

haoadoreorange commented 2 years ago

I have several custom snippet. I just noticed that, after firing up vscode and use it for the first time, it will be the only option that shows in the custom snippet list after.

For example if I have A B C as custom snippets, I open vscode and use B, after that every command Surround with will only have B as the custom one, A and C disappear.

EDIT: I just checked and the error started with ver 1.1.0, when languageId support was introduced. That must be the problem.

record

yatki commented 2 years ago

Hey @haoadoresorange thanks for reporting the issue.. I'll look into it asap πŸ‘πŸ»

yatki commented 2 years ago

πŸŽ‰ This issue was resolved in version 1.3.0 πŸŽ‰

The release is available on:

Don't forget to update your extension and leave a star :) CheersπŸ––πŸ»,