Installation
From marketplace
- In the IDE, open Settings
Skip this step if you do not have opened projects and are in the start menu - Go to Plugins
- Select the Marketplace tab (default)
- Search for
TON
- Select the official plugin from TON Core and click Install


From disk
To manually install the plugin:- Download the plugin archive from the latest GitHub release or from the exact version on the marketplace
- In the IDE, open Settings
Skip this step if you do not have opened projects and are in the start menu - Go to Plugins
- Click the gear icon on top and then select
Install Plugin from Disk...
- Select the plugin archive in the pop up and complete the installation
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
Recommended language for TON smart contract development
FunC
Legacy TON smart contract programming language
Fift
Low-level stack-based language with deep TVM integration
TL-B
Cell-based data serialization and markup language
TON Assembly (TASM)
Textual TVM bitcode assembly language and corresponding (dis)assembler
Integrations
Work with Blueprint projects, Sandbox TON emulator, and other popular tools for TON development
Tolk
File extension:.tolk


- 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


- Syntax and error highlighting
- Code completion
- Quick documentation
- Declarations
- Usages
- Inlay hints
- Inspections
Fift
File extensions:.fif
, .fift




- Syntax and error highlighting, with better support for Fift assembly
- Code completion
- Declarations
- Usages
- Inspections
TL-B
File extension:.tlb


- Syntax and error highlighting
- Code completion
- Declarations
- Usages
- Inspections
TASM
File extensions:.tasm
— textual bitcode assembly.boc
— serialized binary smart contract code


- Syntax and error highlighting of
.tasm
files - Code completion
- Declarations
- Usages
- Inspections
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.