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
Just FYI - it is best not to use activeTextEditor inside provideXYZ-calls because it must not always be the active editor for which completions are requested. In your case can do two things
use the provided document and position to figure out where you are, or
at least check that the provided document is the document of the active editor.
Thanks for the nice words ❤️. Happy Coding
The text was updated successfully, but these errors were encountered:
I came across your blogpost https://medium.com/@marcinbaraniecki/developing-visual-studio-code-extensions-c43a47321296 and as the maintainer of the VS Code I couldn't resit taking a look at your extension code.
Just FYI - it is best not to use
activeTextEditor
insideprovideXYZ
-calls because it must not always be the active editor for which completions are requested. In your case can do two thingsdocument
andposition
to figure out where you are, ordocument
is the document of the active editor.Thanks for the nice words ❤️. Happy Coding
The text was updated successfully, but these errors were encountered: