Skip to content

movefuns/intellij-move

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sui Move Language plugin for the Intellij platform

中文

Installation

Online

Open in your IDE, search for Sui Move Language and install the plugin. Settings > Plugins > Marketplace s

Local

install file

Features

  • Syntax highlighting
  • Code formatting
  • Go-to-definition
  • Type inference
  • Execute custom command
  • Some quick buttons
  • sui binary integration

Dependencies

For git dependencies specified in Move.toml file you need to manually run move package build to populate build/ directory.

Compatible IDEs

All Intellij-based IDEs starting from version 2022.3.

Usage

Set the Sui Cli Path

Open Settings > Languages&Frameworks > Sui Move Language,click file select and select the valid sui cli path. Then the version label will show the version of the sui cli. img.png

Using the ToolWindow

The plugin features a dedicated ToolWindow with the following functionalities: img.png

  • Refresh Project:

    img.png : synchronize the latest state of your project.

  • Get Active Address:

    img_1.png : displays the current active address information.

  • Switch Account:

    img_2.png : to switch between different accounts.

  • Switch Network:

    img_3.png : allows switching between different network environments, such as from a development network to a test network.

Execute custom command:

Click on Edit Configurations in the toolbar to configure custom commands. Click on the + in the top left corner, find Sui Command, and click to add a custom command.

img.png

In the configuration panel, you can set the name and command. After saving, you can click the img_2.png button in the toolbar to execute the command.

Note: Please make sure that the working directory is located in the current project directory.

img_1.png

Notes

Ensure the project is correctly set up before using the plugin features. The functionality of the plugin depends on the current state of the project, so keep it up-to-date.

Getting Help

For any issues encountered while using the plugin, please open an issue on GitHub

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 98.0%
  • Move 1.5%
  • Other 0.5%