This is an IntelliJ plugin that adds support for the Gno programming language. It allows IntelliJ to recognize .gno
files and provides basic functionality for working with Gno files in the IDE.
IntelliJ or GoLand -> 2023.2+
Java -> 17+ (Linux - MacOS - Windows)
Gradle -> 8.8+ (just Windows)
To install this plugin in IntelliJ IDEA, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/gnolang/intellij-gno.git
-
Go to the repo
cd intellij-gno
-
Build the plugin with Gradle:
macOS and Linux
./gradlew build
Windows
gradle build
-
Open gno repo in IntelliJ IDEA or GoLand IDEA.
-
After building, you can install the plugin by following these steps:
- Go to File > Settings > Plugins.
- Click on the gear icon ⚙️ and select Install Plugin from Disk.
- Navigate to the
build/distributions
directory and select the.zip
file generated by the build.
-
Restart IntelliJ IDEA to activate the plugin.
Once the plugin has been installed, IntelliJ IDEA will automatically recognize .gno
files. You can create new .gno
files or open existing ones, and the plugin will provide syntax highlighting and basic language support. You'll also get gnopls
implementations, which will be automatically installed if you don't have the binary.
with the following features:
- Gnopls
- Highlighting
- Formatting
- IntelliSense
- Navigation
- Doc
- Rename Symbol
- Find Reference
- Find Implementation
- Auto Install Import
gno
plugin is installed.
To contribute or modify this plugin, follow these steps:
-
Fork the repository and clone it:
git clone https://github.com/gnolang/intellij-gno.git
-
Open the project in IntelliJ IDEA.
-
Make sure you have the required dependencies installed by running:
./gradlew build
-
Run the plugin in a sandbox environment:
./gradlew runIde
This will launch a new instance of IntelliJ IDEA with the plugin loaded in a sandbox environment for testing.
If you want work directly with the IDE. Open the Gradle
instruction

To build the plugin for distribution, use the following command:
./gradlew buildPlugin
The generated plugin file will be located in the build/distributions
directory as a .zip
file, which can be shared or uploaded to the JetBrains Plugin Repository.
Contributions are welcome! ✌🏼
This project is licensed under the APACHE License. See the LICENSE file for more details.