VS Code extension
Provides extensive support for Tact language in the Visual Studio Code (VSCode):
- Semantic syntax highlighting
- Code completion with auto import, postfix completion, snippets, imports completion
- Go to definition, implementation, type definition
- Find all references, workspace symbol search, symbol renaming
- Types and documentation on hover
- Inlay hints for types, parameter names and more
- On-the-fly inspections with quick fixes
- Signature help inside calls,
initOf
and struct initialization - Lenses with implementation/reference counts
- Gas estimates for assembly functions
- Build and Test projects based on Blueprint and Tact Template
- Integration with Tact compiler and Misti static analyzer
Quick start
Download the extension for VS Code and VSCode-based editors like VSCodium, Cursor, Windsurf and others:
- Get it on the Visual Studio Marketplace.
- Get it on the Open VSX Registry.
- Or install from the
.vsix
files in nightly releases.
For non-VSCode based editors, install the Language Server (LSP Server). It supports Sublime Text, (Neo)Vim, Helix, and any other editor with LSP support.
Installation manual for VSCode
-
Open Visual Studio Code (VSCode).
-
Navigate to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window. It looks like a square within a square.
-
In the Extensions view, type “Tact Language”. You should see a dropdown with the extension “Tact Language” provided by TON Studio. You’ll see other extensions previously made by the community, but you should use the one from TON Studio as it is officially supported and developed by the Tact team.
-
Click on the “Install” button next to the extension name. Wait until the installation is complete.
-
Once the extension is installed, you may need to reload VS Code. You might see a Reload button next to the extension. Click this button when it appears.