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.
Visit the VS Code Marketplace and download the
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.
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:
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 as chain_id
and when u type use std:
, a drop-down apperars with available functions as signer
.
Enhanced Readability: Improve code clarity with color-coded syntax that highlights keywords, types, and functions.
Get instant suggestions for namespaces, functions, and struct attributes as you type.
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.