_ _______ ___ __________ ____________ |X| / + / \ + / + + XXXXX / ____/ / \ | ____/ | ____ | X X ____/ /____ / + \ | | | + + | X X / / / / \ \ | | ____ | | | | XXXX /____ ____/ / +___+ \ | + + | | | | + X / / / / \ \ | \ | | | +____+ | | X / / / / \ \ | | | | | X /____/ +___+ +___+ +_________+ + _____________+ | ______________________________________________________________________________________________________+
Welcome to the formatandgo extension for Visual Studio Code!
This extension helps you format your Go code with ease. It integrates the go fmt
command directly into your editor, allowing you to format your code quickly and efficiently. No more manual formatting – just let formatandgo do the work for you!
Before you start using formatandgo, ensure you have the following requirements in place:
- Go Language: You need to have Go installed on your machine to utilize this extension.
- Navigate to the releases section and download the file named: "formatandgo-0.0.1.vsix".
- Start your VS Code app and go to the extensions section.
- Click the menu (...) button for more options.
- Select "Install from VSIX..." and choose the file you downloaded.
- Open your Go project. Make sure you're in the root directory (where there is a go.mod file).
- Highlight the piece of code you want to format.
- Click
[CTRL+SHIFT+P]
to open the VS Code command palette. - Type "format and go" and select it.
That's it! Your code will be formatted.
This extension doesn't require any configuration. You can simply install it and start using it.
At the moment, there are no known issues with this extension. If you encounter any problems or have suggestions for improvement, please feel free to report them in our GitHub Issues.
Stay up-to-date with the changes and improvements we make to the formatandgo extension:
Enjoy using formatandgo to keep your Go code neat and organized!