Open in your IDE, search for Sui Move Language and install the plugin.
Settings > Plugins > Marketplace
s
- Syntax highlighting
- Code formatting
- Go-to-definition
- Type inference
- Execute custom command
- Some quick buttons
sui
binary integration
For git dependencies specified in Move.toml
file you need to manually run move package build
to populate build/
directory.
All Intellij-based IDEs starting from version 2022.3.
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.
The plugin features a dedicated ToolWindow with the following functionalities:
-
Refresh Project:
-
Get Active Address:
-
Switch Account:
-
Switch Network:
: allows switching between different network environments, such as from a development network to a test network.
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.
In the configuration panel, you can set the name and command. After saving, you can click the button in the toolbar to execute the command.
Note: Please make sure that the working directory is located in the current project directory.
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.
For any issues encountered while using the plugin, please open an issue on GitHub