Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Go Return Type WrapperNew to Visual Studio Code? Get it now.
Go Return Type Wrapper

Go Return Type Wrapper

belovant

|
38 installs
| (0) | Free
Auto wrap return types in parentheses
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

go-return-type-wrapper README

Features

This extension will help you auto fix parenthesis for golang return types.

E.g. you have this function

func A() string {
  //...
}

If you add second param it will format to

func A() (string, e...) {
  //...
}

adding parenthesis

Enjoy!

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