Skip to content

gnoverse/vscode-gno

Repository files navigation

Gno for Visual Studio Code

⚠️ Currently we build from source to install, this will be published on marketplace soon

Acknowledgments

A big thank you to the developers of the vscode-go extension for Go. Their work was a huge help in creating this extension for the Gno language, as I adapted their ideas and structure to fit this new context. Thank you for your contribution to open source and for the inspiration!

Quick Start

  1. Install Go 1.21 or newer and Gno if you haven't already.

  2. Clone Repo, install dependencies and make .vsix file

git clone https://github.com/gnoverse/vscode-gno.git
cd vscode-gno/extension
npm ci
npm run package
  1. Add the .vsix file that was created to your extensions


  1. Open any gno file or gno.mod file to automatically activate the extension.

Automatic installation of gnopls

For the extension to work properly, it needs the gnopls LSP server. If gnopls is not installed, installation is automatic.

If you get this error message


This means that the extension cannot find the go binary needed to install gnopls. You'll need to add the PATH to your go binary in the extension settings.


You are ready to Gno :-)    🎉🎉🎉

About

Visual Studio Code plugin for the Gno language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages