Skip to content

feat: descriptions of Tact plugins and tutorials #1148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import Feedback from '@site/src/components/Feedback';

# IDE plugins

Select the IDE or editor in the table of contents on the right and install the relevant plugin for your language of choice.

Using the [TON Web IDE](https://ide.ton.org/), you can try FunC or Tact online without installing anything locally.

## IntelliJ IDEs Plugin

![](/img/docs/ton-jetbrains-plugin.png)
Expand All @@ -16,20 +20,50 @@ There are several ways to install a plugin:
- [Marketplace link](https://plugins.jetbrains.com/plugin/23382-ton)
- [GitHub repository](https://github.com/ton-blockchain/intellij-ton)

## VS Code plugin
## VS Code

Visual Studio Code is a free and popular IDE for developers.

### FunC

- [Marketplace link](https://marketplace.visualstudio.com/items?itemName=tonwhales.func-vscode)
- [GitHub repository](https://github.com/ton-foundation/vscode-func)

## FunC Sublime Text plugin
### Tact

- [Marketplace link](https://marketplace.visualstudio.com/items?itemName=tonstudio.vscode-tact)
- [Open VSX registry link](https://open-vsx.org/extension/tonstudio/vscode-tact)
- [GitHub repository](https://github.com/tact-lang/tact-language-server)

## Sublime Text

### FunC

- [GitHub repository](https://github.com/savva425/func_plugin_sublimetext3)

### Tact

- [Package Control link](https://packagecontrol.io/packages/Tact)
- [GitHub repository](https://github.com/tact-lang/tact-sublime)

## Vim

All-in-one Vim 8+ plugin for Tact language.

- [GitHub repository](https://github.com/tact-lang/tact.vim)

## Neovim

To enable syntax highlighting in Neovim, follow the installation instructions in the [nvim-treesitter quickstart guide](https://github.com/nvim-treesitter/nvim-treesitter#quickstart).

To make sure `.tact` extension is properly recognized, install the [tact.vim](https://github.com/tact-lang/tact.vim) plugin.

## Helix

To enable support of the Tact language, refer to the following instructions:

1. For latest syntax highlighting, setup [tree-sitter-tact](https://github.com/tact-lang/tree-sitter-tact#helix)
2. For editor intelligence, setup [tact-language-server](https://github.com/tact-lang/tact-languge-server#other-editors)

<Feedback />

Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,16 @@ Watch Video Tutorials

### Tech stack
- Compiling FunC with https://github.com/ton-community/func-js (no cli)
- Compiling Tact with https://github.com/tact-lang/tact
- Testing smart contracts with https://github.com/ton-org/sandbox
- Deploying smart contracts with TON Connect 2.0 compatible wallets or a `ton://` deeplink

### Requirements

- [Node.js](https://nodejs.org/) with a recent version like v18, verify version with `node -v`
- IDE with TypeScript and FunC support like [Visual Studio Code](https://code.visualstudio.com/) with the [FunC plugin](https://marketplace.visualstudio.com/items?itemName=tonwhales.func-vscode)
- IDE with TypeScript and TON support:
- [Visual Studio Code](https://code.visualstudio.com/) with the [FunC plugin](https://marketplace.visualstudio.com/items?itemName=tonwhales.func-vscode) or [Tact plugin](https://marketplace.visualstudio.com/items?itemName=tonstudio.vscode-tact)
- [IntelliJ IDEA](https://www.jetbrains.com/idea/) with the [TON Development plugin](https://plugins.jetbrains.com/plugin/23382-ton)

## References

Expand Down
2 changes: 2 additions & 0 deletions docs/v3/documentation/smart-contracts/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Kickstart your journey with our beginner-friendly guides:
- [🚩 Challenge 4: Lottery/Raffle](https://github.com/romanovichim/TONQuest4)
- [🚩 Challenge 5: Create UI to interact with the contract in 5 minutes](https://github.com/romanovichim/TONQuest5)
- [🚩 Challenge 6: Analyzing NFT sales on the Getgems marketplace](https://github.com/romanovichim/TONQuest6)
* [TON development playlist](https://www.youtube.com/playlist?list=PLQ5rEj25H3U2P5qp7nsgVtNGYxEojnnez) [[RU version]](https://www.youtube.com/playlist?list=PLOIvUFGfwP93tZI_WnaLyJsZlskU4ao92)

### TON Course

Expand Down Expand Up @@ -220,6 +221,7 @@ Enhance your skillset with these community-driven educational resources.
* [Smart Contracts Guidelines](/v3/guidelines/smart-contracts/guidelines)
* [TON FunC Learning Path](https://blog.ton.org/func-journey) ([RU version](https://github.com/romanovichim/TonFunClessons_ru))
* [YouTube Tutorials](https://www.youtube.com/@TONDevStudy) [[RU version]](https://www.youtube.com/@WikiMar)
* [TON development playlist](https://www.youtube.com/playlist?list=PLQ5rEj25H3U2P5qp7nsgVtNGYxEojnnez) [[RU version]](https://www.youtube.com/playlist?list=PLOIvUFGfwP93tZI_WnaLyJsZlskU4ao92)


## Additional Resources
Expand Down
4 changes: 2 additions & 2 deletions docs/v3/guidelines/dapps/tma/notcoin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ The Notcoin jetton is forked from https://github.com/ton-blockchain/stablecoin-c
Notcoin represents a standard TON jetton smart contract with additional functionality:
- The admin of the jetton can change the jetton-minter code and its full data.

:::Warning
:::warning
It is critically important for the issuer to carefully manage the admin's account private key to avoid any potential risks of being hacked. It is highly recommended to use a multi-signature wallet as the admin account, with private keys stored on different air-gapped hosts/hardware wallets.
:::

:::Warning
:::warning
The contract does not check the code and data on upgrade messages, so it is possible to brick the contract if you send invalid data or code. Therefore, always check the upgrade in the testnet before applying it on the main network.
:::

Expand Down
3 changes: 2 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const config = {
baseUrl: '/',
themes: [
'@docusaurus/theme-live-codeblock',
],
],
plugins: [
['docusaurus-plugin-sass', {}],
[
Expand Down Expand Up @@ -169,6 +169,7 @@ const config = {
'typescript',
'cpp',
'c',
'bash', // bash, sh, and shell code blocks
],
},
docs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ npm create ton@latest
- [🚩 Задача 4: Лотерея/Розыгрыш](https://github.com/romanovichim/TONQuest4)
- [🚩 Задача 5: Создайте пользовательский интерфейс для взаимодействия с контрактом за 5 минут](https://github.com/romanovichim/TONQuest5)
- [🚩 Задача 6: Анализ продаж NFT на маркетплейсе Getgems](https://github.com/romanovichim/TONQuest6)
- [Плейлист по TON разработке](https://www.youtube.com/playlist?list=PLOIvUFGfwP93tZI_WnaLyJsZlskU4ao92)

### Курс TON

Expand Down