Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Golang postfix code completion liteNew to Visual Studio Code? Get it now.
Golang postfix code completion lite

Golang postfix code completion lite

uerax

|
313 installs
| (1) | Free
Postfix templates for Golang, based on vscode-postfix-go
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Postfix templates for Golang

Version Installs

Forked from vscode-postfix-ts

Forked from vscode-postfix-go

feature X

Under development. Any suggestions are welcomed.

Templates

All available templates (expr means the expression on which the template is applied):

Template Outcome
.if if expr
.else if !expr
.nil if expr == nil
.nnil if expr != nil
.forr for index := range expr {}
.for for index, element := range expr {}
.fori for index := 0 ; index < len(expr); index++ {}
.forj for index := len(expr) - 1 ; index >= 0 ; index--
.return return expr
.const const name type = expr
.len len(expr)
.print fmt.Println(expr)
.printf fmt.Printf("%+v\n", expr)
.error errors.New("expr")
.struct type expr struct
.interface type expr interface
.switch switch expr
.func func (t *expr)
.exist if v, ok := expr; !ok {}

Author

uerax

Contributors

Wesker

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft