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
The issue in this case is that the Go plugin defines these snippets, and knows that they are never useful for comments. If they can't be disabled completely, can the plugin specify whether the snippet should be excluded in some contexts like in a comment?
There's similar issues when writing:
"package main" - the "main" autocomplete is shown and ends up changing the code to
package func main() {
}
Or when writing func main and typing enter, it becomes
Steps to Reproduce:
//
main
, orfor
)main
orfor
)The snippet is inserted inside of the comment.
Snippets should be disabled inside of a comment.
Attached screencast in zip:
vscode-comment-snippet.zip
The text was updated successfully, but these errors were encountered: