Skip to content

C-o-m-o-n/formatandGO

Repository files navigation

formatandgo README

    _                         _______           ___             __________       ____________
   |X|                       /        +        /   \           +         /     +              +
  XXXXX                     /     ____/       /     \          |    ____/     |      ____      |
 X     X               ____/    /____        /   +   \         |   |          |     +    +     |
 X     X              /             /       /   / \   \        |   |   ____   |    |      |    |
   XXXX              /____     ____/       /   +___+   \       |      +    +  |    |      |    |       +
    X                    /    /           /   /     \   \      |    \ |    |  |     +____+     |       |     
    X                   /    /           /   /       \   \     |           |  |                |       |
    X                  /____/           +___+         +___+     +_________+    + _____________+        |
______________________________________________________________________________________________________+


Welcome to the formatandgo extension for Visual Studio Code!

Features

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!

Formatting in Action

Requirements

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.

How to Get It

  1. Navigate to the releases section and download the file named: "formatandgo-0.0.1.vsix".
  2. Start your VS Code app and go to the extensions section.
  3. Click the menu (...) button for more options.
  4. Select "Install from VSIX..." and choose the file you downloaded.

How to Use It

  1. Open your Go project. Make sure you're in the root directory (where there is a go.mod file).
  2. Highlight the piece of code you want to format.
  3. Click [CTRL+SHIFT+P] to open the VS Code command palette.
  4. Type "format and go" and select it.

That's it! Your code will be formatted.


Extension Settings

This extension doesn't require any configuration. You can simply install it and start using it.

Known Issues

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.

Release Notes

Stay up-to-date with the changes and improvements we make to the formatandgo extension:

0.0.1

0.0.2


Enjoy using formatandgo to keep your Go code neat and organized!