Move on Aptos IntelliJ Plugin Help

Imports Integration

Intellij-Move plugin automates working with use statements in the Move language.

Unused import inspection

If imports are unused in the file, they are highlighted with the grayed text.

Unused imports

Optimize imports

To get rid of those unused imports, you can use the special function of the Jetbrains IDEs.

Click on Code | Optimize Imports (or Ctrl+Alt+O), and the IDEs will remove all the highlighted use items.

Optimize Imports

Auto imports

Searching through the code for the functions and types, and adding use statements for them manually can be a tedious task. Intellij-Move provides a way to automatically add the correct statements for an accessible items in the project by showing them up in the completion popup:

Auto Import

Those completion popups also greatly help with the discovery of the new functions.

Last modified: 03 December 2024