Acton
IDE support

VS Code-based editors

Learn about Acton support in VS Code, Cursor, and Windsurf

The TON extension for VS Code supports Acton development, providing intelligent features and toolchain integration.

For installation instructions, see the official TON documentation.

Supported Editors

The extension is compatible with:

  • Visual Studio Code
  • Cursor
  • Windsurf
  • VSCodium
  • And other VS Code-based editors

Acton.toml Support

Quick Actions

Code lenses allow running builds and tests directly from the Acton.toml file.

Building a specific contract

Running project tests

Running a script

Testing

Native Test Runner

Acton tests integrate with the IDE's native test runner, providing a hierarchical view and progress indicators.

For convenient execution, the plugin provides a test run icon in the editor.

Failure Analysis

When a test fails, the plugin highlights the specific expect call that failed and changes the test icon.

Code Coverage

Coverage results are displayed in the editor gutter and file tree, showing which contract lines were executed during tests.

Test Snippets

The test live template allows generating test structures by typing test and pressing Tab.

Toolchain Integration

Wallet Management

The Wallets View allows managing project wallets, including generation, import via mnemonic, balance tracking, and testnet TON requests.

Script Execution

Scripts can be executed via code lenses:

Last updated on

On this page