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.
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.
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:
Those completion popups also greatly help with the discovery of the new functions.
Last modified: 03 December 2024