You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, insertSnippet returns a promise on which you must wait until further changes are performed. I'll add a guard to make sure the second call is a noop when the version numbers don't match anymore
I guess that happens because the editor is still in snippet mode. Unsure if, the promise should only resolve when snippet mode has finished, if snippet mode should be aborted and restarted, or if the second snippet should be blocked (promise resolving to false)
Testing #15952
Create the following extension:
run the extension, open an editor and run the 'hello world' command.
Only one snippet is inserted.
When changing the snippet text of the second snippet, (e.g. 'let to 'var') more is inserted, except for the common prefix.
The text was updated successfully, but these errors were encountered: