Move on Aptos IntelliJ Plugin Help

Working with Aptos projects

Open an existing Aptos project

  1. Go to File | Open and select the directory containing the root Move.toml file (or select Move.toml itself)

  2. Check the Aptos tool window (View | Tool windows | Aptos) to make sure your project has been imported successfully:

    Aptos Tool Window with imported project

Create new Aptos project

  1. Go to File | New project... and select the Move project type under the Other section at the left side.

    New Project
  2. Choose project name and select Aptos CLI to use for the initialization process. Move on Aptos IDE plugin ships with the built-in Aptos CLI. If you wish to use the different version of the CLI, you can download it with the Get Aptos | Download pre-compiled binary from GitHub action link.

    Download Aptos

Project loading

When you open or update an existing Aptos project, the plugin takes project information from the Move.toml files and opens the Build tool window (the Sync tab) to show the progress and result of project loading. Click inspections-eye to view all the steps:

Build Tool Window image

Automatic reloading

By default, Intellij Move reloads the project whenever you update Move.toml outside the IDE or through VCS. You can change that behaviour in Settings | Build, Execution, Deployment | Build Tools.

Reload Behaviour

Manual reloading

If automatic reloading is partly/fully disabled, the IDE will still let you know whenever the model needs an update - the editor will display a button that you can use to quickly reload the model.

Load Changes

Alternatively, you can reload projects through the Aptos tool window (View | Tool Windows | Aptos) by clicking the Reload Icon in the toolbar.

Last modified: 01 July 2024