Skip to content

Latest commit

 

History

History
185 lines (138 loc) · 7.28 KB

README.md

File metadata and controls

185 lines (138 loc) · 7.28 KB

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 :-)    🎉🎉🎉