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!
-
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
- Add the
.vsix
file that was created to your extensions
- Open any gno file or gno.mod file to automatically activate the extension.
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 :-) 🎉🎉🎉