Supra Move VS Code Extension
Welcome to the official documentation for the Supra Move VS Code Extension, a one-stop developer tool designed to streamline development on the Supra MoveVM.
Download & Installation
Visit the VS Code Marketplace and download the Supra Extension Here.
OR, Install via VS Code Extensions Activity Bar:
Open VS Code.
Navigate to the Extensions view (click the Extensions icon in the Activity Bar on the left).
Click the search bar on the top and type name "Supra Move" and click Install.
Getting Started
Once the extension is installed:
Create a new
.move
file or open an existing one.
Verify that VS Code sets the file’s language to “move” (check the bottom-right corner of the window). This ensures both syntax highlighting and IntelliSense are activated.
Start typing Move code. For instance, you can try the following sample module code:
As you type, you should see:
Syntax Highlighting: Keywords, functions, namespaces, and variables are color-coded.
IntelliSense Suggestions: When you type
use supra_framework::
, a drop-down appears with available functions such aschain_id
and when u typeuse std:
, a drop-down apperars with available functions assigner
.
Key Features
Syntax Highlighting
Enhanced Readability: Improve code clarity with color-coded syntax that highlights keywords, types, and functions.
IntelliSense & Auto-Completion
Get instant suggestions for namespaces, functions, and struct attributes as you type.
What Developers No Longer Need to Do:
Function signatures and current module dropdown suggestions are readily available as you code.
Auto-completion minimizes typos, letting you focus on your application logic.
Stay within VS Code without the need to reference external documentation repeatedly.