Skip to content

Missing vscode Go Code Snippet Feature for slice, map and string Types? #2662

Answered by tabris233
tabris233 asked this question in Help
Discussion options

You must be logged in to vote

I found it! I just need to modify this configuration "[go]":{ "editor.snippetSuggestions": "none" } (none -> bottom/inline/top).

Actually, this should be a feature of the gopls, and I've found the code link for it. https://github.com/golang/tools/blob/master/gopls/internal/lsp/source/completion/postfix_snippets.go

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tabris233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant