-
Discord user IDpigbearr Describe your question in detail.When writing move modules, one of the frictions I have been experiencing is knowing when to import what modules and what functions are available in those modules. Right now, I have the move reference page open on the side, and I am going back and forth to see what functions are available and what arguments those functions take in. Is this the best way to identify the required modules to import, or is there a better approach? I have the aptos-move-analyzer installed, but it doesn't give me any "go to definition", "go to references", or "type on hover" support like the readme of the extension suggests. Would appreciate some guidance on what the recommended way is to build with Aptos Move 🙏 What error, if any, are you getting?No response What have you tried or looked at? Or how can we reproduce the error?No response Which operating system are you using?macOS Which SDK or tool are you using? (if any)N/A Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For one, you can should try a Move on Aptos plugin for the JetBrains IDEs: As for the VSCode, Cursor, etc: We're working on a new version of the extension, which should considerably improve the support for those IDE features. It's pretty close to a public release now. Stay tuned for the updates. |
Beta Was this translation helpful? Give feedback.
-
I see. I'll try the jetBrains plugin! Thank you! |
Beta Was this translation helpful? Give feedback.
For one, you can should try a Move on Aptos plugin for the JetBrains IDEs:
https://pontem.network/move-intellij-ide-plugin
https://github.com/pontem-network/intellij-move
It supports all the functionalities you mentioned, up to a nice "global completion popup" functionality which let's you explore the available modules and functions and automatically add use stmts if needed. Very handy!
As for the VSCode, Cursor, etc:
aptos-move-analyzer
should be able to provide go-to-definition if your project compiles fine, but other features are indeed missing. It has some inherent limitations preventing implementation of those.We're working on a new version of the extension, which should considerabl…