Skip to Content
Supra Layer 1MoveVMSupra Move VS Code Extension

Supra Move VS Code Extension

Welcome to the official documentation for the Supra Move VS Code Extension, a comprehensive developer tool designed to streamline development on the Supra MoveVM.

Quick Installation


  1. Open VS Code.
  2. Navigate to the Extensions view from the Activity Bar.
  3. Search for Supra Move.
  4. Click Install on the official Supra extension.

After installation, look for the Supra logo in your VS Code tray to access built-in explorer features.


Getting Started

IntelliSense and Syntax Highlighting

1. Create or Open a Move File

Create a new .move file or open an existing one in your workspace.

Verify that VS Code sets the file language to move in the bottom-right corner of the editor.

2. Start Coding

Begin typing Move code. Try this sample module to see the extension in action:

module your_addre::hellomessage { use supra_framework:: // IntelliSense will suggest available modules. use std:: // Auto-complete shows: vector, signer, table, etc. struct TestStruct has copy // drop down box showing drop, key, store etc. { pub name: String, pub age: u32, } }

Using Built-in Supra Explorer

New in v3.1.1: Supra explorer functionality with Supra logo tray integration for easy access to all explorer features.

Account Resource & Module Explorer

  • Fetch and display resources and modules in real time by account address.
  • Open on-chain module source code by clicking any module name.

Event Explorer

  • Track events in real time by transaction hash.
  • Inspect event details and parameters.

Support & Troubleshooting

IntelliSense not activating?

  • Ensure your file uses the .move extension.
  • Check that the language mode shows move in the status bar.

Explorer features not visible?

  • Look for the Supra logo in your VS Code interface.
  • Make sure you are running the latest version, v3.1.1.
  • Check the VS Code activity bar and side panels, and make sure SupraMove is not hidden.

Extension in Action


Demo
Last updated on