Skip to main content
TON plugin for IntelliJ IDEA (Ultimate and Community), WebStorm, CLion, GoLand, PyCharm, RustRover, and all other JetBrains IDEs.

Installation

From marketplace

  1. In the IDE, open Settings
    Skip this step if you do not have opened projects and are in the start menu
  2. Go to Plugins
  3. Select the Marketplace tab (default)
  4. Search for TON
  5. Select the official plugin from TON Core and click Install
The plugin would be fetched and installed in your current JetBrains IDE. You might need to restart it for changes to take effect. Here is how the plugin installation page may look in the start menu of WebStorm, before pressing the Install button: Screenshot of the plugin installationScreenshot of the plugin installation Alternatively, you can press Get on the plugin homepage in the JetBrains Marketplace and then follow subsequent instructions.

From disk

To manually install the plugin:
  1. Download the plugin archive from the latest GitHub release or from the exact version on the marketplace
  2. In the IDE, open Settings
    Skip this step if you do not have opened projects and are in the start menu
  3. Go to Plugins
  4. Click the gear icon on top and then select Install Plugin from Disk...
  5. Select the plugin archive in the pop up and complete the installation
See also: Installing a plugin from the command line in IntelliJ IDEA.

Features and language support

This plugin provides first-class support for TON-specific languages, schemas and data formats in IntelliJ-based IDEs. Everything you need to develop, test, debug, and deploy TON smart contracts is made available right from your favorite JetBrains-made editor.

Tolk

File extension: .tolk Screenshot of the Tolk language supportScreenshot of the Tolk language support The plugin provides the following features for Tolk files:
  • Syntax and error highlighting
  • Code completion — context-specific suggestions as you type
  • Parameter info — names of parameters in function calls, with option to enable complete function signatures info
  • Quick documentation — pop-up and hover documentation for any symbol right from the editor
  • Declarations — go to declarations, implementations, and types
  • Usages — search for references and usages of a code element throughout the codebase
  • Inlay hints — special in-editor markers, like parameter name blobs next to the corresponding argument values
  • Inspections — detects, finds, and highlights various problems and abnormal code
  • Intention actions — contextual code edits and quick fixes
  • Formatting — rearrangements and code cleanup
  • Rename refactorings — change names of symbols and files
  • Code fragment surrounding — templates for wrapping code fragments in various constructs, such as try...catch blocks.
  • File structure — view and navigate the code structure of the open file.
  • Navigation bar — structure of the project from directories down to code elements, usually located at the bottom of the status bar.

FunC

File extensions: .fc, .func Screenshot of the FunC language supportScreenshot of the FunC language support The plugin provides the following features for FunC files:

Fift

File extensions: .fif, .fift Screenshot of the Fift language supportScreenshot of the Fift language support Screenshot of the Fift assembly supportScreenshot of the Fift assembly support The plugin provides the following features for Fift:

TL-B

File extension: .tlb Screenshot of the TL-B data scheme supportScreenshot of the TL-B data scheme support The plugin provides the following features for TL-B files:

TASM

File extensions:
  • .tasm — textual bitcode assembly
  • .boc — serialized binary smart contract code
Screenshot of the TON Assembly (TASM) language supportScreenshot of the TON Assembly (TASM) language support The plugin provides the following features for TON Assembly (TASM):

Integrations

The plugin integrates with:
  • Blueprint — all-in-one development environment for TON smart contract development
  • Sandbox — local TON emulator

Community

Follow news of TON plugin development in the @intellijton Telegram channel.
I