Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GnoNew to Visual Studio Code? Get it now.

Gno

Preview

Hariom Verma

|
28 installs
| (2) | Free
Gno language support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Gno for Visual Studio Code

Welcome! 👋🏻
The VS Code Gno extension provides language support for the Gnolang and enhance your Gnolang development experience.

Prerequisite

  • Install Go 1.18 or newer if you haven't already.

  • Install gofumpt

    go install mvdan.cc/gofumpt@latest
    
  • Add Go bin to PATH

    e.g (For MacOS)

    • Open zsh shell configuration file
    nano ~/.zshrc
    
    • Add line given below
    export PATH="${PATH}:${GOPATH}/bin"
    

Feature highlights

  • [Syntax highlighting] - Syntax highlighting for Gno files
  • [Formatting] - Automatically apply gofumpt formatting on save
  • [Precompile] - Precompile uses gnodev. gnodev need to be installed for this feature to work. You can also enable precompile on save in the configuration.
  • [Snippets] - Templates that make it easier to enter repeating code patterns, such as loops or conditional-statements.
  • [Diagnostics] - Build, vet, and lint errors shown as you type or on save. Need precompileOnSave to be enabled.

Contributing

We welcome your contributions and thank you for working to improve the Gnolang development experience in VS Code.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft