Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

IntelliJ Editor Gno Plugin

License

NotificationsYou must be signed in to change notification settings

gnoverse/intellij-gno

Repository files navigation

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.

Requirements Version

IntelliJ or GoLand -> 2023.2+

Java JDK -> 17+ (Linux - MacOS - Windows)

Gradle -> 8.8+ (just Windows)

Installation

To install this plugin in IntelliJ IDEA, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/gnolang/intellij-gno.git
  2. Go to the repo

    cd intellij-gno
  3. Build the plugin with Gradle:

    macOS and Linux

    ./gradlew build

    Windows

    gradle build
  4. Opengno repo inIntelliJ IDEA orGoLand IDEA.

  5. After building, you can install the plugin by following these steps:

    • Go toFile > Settings > Plugins.
    • Click on the gear icon ⚙️ and selectInstall Plugin from Disk.
    • Navigate to thebuild/distributions directory and select the.zip file generated by the build.
  6. Restart IntelliJ IDEA to activate the plugin.

Usage

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 getgnopls implementations, which will be automatically installed if you don't have the binary.with the followingfeatures:

‼️ To use gnopls, thelsp4ij extension will be installed automatically when thegno plugin is installed.

Development

To contribute or modify this plugin, follow these steps:

  1. Fork the repository and clone it:

    git clone https://github.com/gnolang/intellij-gno.git
  2. Open the project inIntelliJ IDEA.

  3. Make sure you have the required dependencies installed by running:

    ./gradlew build
  4. 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 theGradle instruction

image

Building the Plugin

To build the plugin for distribution, use the following command:

./gradlew buildPlugin

The generated plugin file will be located in thebuild/distributions directory as a.zip file, which can be shared or uploaded to the JetBrains Plugin Repository.

Contributing

Contributions are welcome! ✌🏼

License

This project is licensed under the APACHE License. See theLICENSE file for more details.


[8]ページ先頭

©2009-2025 Movatter.jp