Categories
VS Code, Go extension: is it possible to modify standard snippets or create custom ones, and how?
For example, pkgm lacks imports in their place, as for me. I wanted to make something like pkgim
Answer the question
In order to leave comments, you need to log in
File -> Preferences -> User snippets Example for GO: "Simple error handler": { "prefix": "err", "body": [ "if err != nil {", "", "}" ], " description": "Simple error handler" }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question