Skip to content

Commit 0884686

Browse files
authored
feat: descriptions of Tact plugins and tutorials (#1148)
* fix: resolve warnings about the invalid warning blocks :) * feat: enable highlighting of triple-ticked code blocks with "bash", "sh", and "shell" suffixes * feat(tact): IDE plugins and Blueprint descriptions * feat: add links to TON development playlist by `@alefmanvladimir` * fix: minor lint complaint
1 parent 3215c4c commit 0884686

File tree

6 files changed

+47
-6
lines changed

6 files changed

+47
-6
lines changed

docs/v3/documentation/smart-contracts/getting-started/ide-plugins.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import Feedback from '@site/src/components/Feedback';
22

33
# IDE plugins
44

5+
Select the IDE or editor in the table of contents on the right and install the relevant plugin for your language of choice.
6+
7+
Using the [TON Web IDE](https://ide.ton.org/), you can try FunC or Tact online without installing anything locally.
8+
59
## IntelliJ IDEs Plugin
610

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

19-
## VS Code plugin
23+
## VS Code
2024

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

27+
### FunC
28+
2329
- [Marketplace link](https://marketplace.visualstudio.com/items?itemName=tonwhales.func-vscode)
2430
- [GitHub repository](https://github.com/ton-foundation/vscode-func)
2531

26-
## FunC Sublime Text plugin
32+
### Tact
33+
34+
- [Marketplace link](https://marketplace.visualstudio.com/items?itemName=tonstudio.vscode-tact)
35+
- [Open VSX registry link](https://open-vsx.org/extension/tonstudio/vscode-tact)
36+
- [GitHub repository](https://github.com/tact-lang/tact-language-server)
37+
38+
## Sublime Text
39+
40+
### FunC
2741

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

44+
### Tact
45+
46+
- [Package Control link](https://packagecontrol.io/packages/Tact)
47+
- [GitHub repository](https://github.com/tact-lang/tact-sublime)
48+
49+
## Vim
50+
51+
All-in-one Vim 8+ plugin for Tact language.
52+
53+
- [GitHub repository](https://github.com/tact-lang/tact.vim)
54+
3055
## Neovim
3156

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

59+
To make sure `.tact` extension is properly recognized, install the [tact.vim](https://github.com/tact-lang/tact.vim) plugin.
60+
61+
## Helix
62+
63+
To enable support of the Tact language, refer to the following instructions:
64+
65+
1. For latest syntax highlighting, setup [tree-sitter-tact](https://github.com/tact-lang/tree-sitter-tact#helix)
66+
2. For editor intelligence, setup [tact-language-server](https://github.com/tact-lang/tact-languge-server#other-editors)
67+
3468
<Feedback />
3569

docs/v3/documentation/smart-contracts/getting-started/javascript.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,16 @@ Watch Video Tutorials
3333

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

3940
### Requirements
4041

4142
- [Node.js](https://nodejs.org/) with a recent version like v18, verify version with `node -v`
42-
- 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)
43+
- IDE with TypeScript and TON support:
44+
- [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)
45+
- [IntelliJ IDEA](https://www.jetbrains.com/idea/) with the [TON Development plugin](https://plugins.jetbrains.com/plugin/23382-ton)
4346

4447
## References
4548

docs/v3/documentation/smart-contracts/overview.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Kickstart your journey with our beginner-friendly guides:
4949
- [🚩 Challenge 4: Lottery/Raffle](https://github.com/romanovichim/TONQuest4)
5050
- [🚩 Challenge 5: Create UI to interact with the contract in 5 minutes](https://github.com/romanovichim/TONQuest5)
5151
- [🚩 Challenge 6: Analyzing NFT sales on the Getgems marketplace](https://github.com/romanovichim/TONQuest6)
52+
* [TON development playlist](https://www.youtube.com/playlist?list=PLQ5rEj25H3U2P5qp7nsgVtNGYxEojnnez) [[RU version]](https://www.youtube.com/playlist?list=PLOIvUFGfwP93tZI_WnaLyJsZlskU4ao92)
5253

5354
### TON Course
5455

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

224226

225227
## Additional Resources

docs/v3/guidelines/dapps/tma/notcoin.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ The Notcoin jetton is forked from https://github.com/ton-blockchain/stablecoin-c
4040
Notcoin represents a standard TON jetton smart contract with additional functionality:
4141
- The admin of the jetton can change the jetton-minter code and its full data.
4242

43-
:::Warning
43+
:::warning
4444
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.
4545
:::
4646

47-
:::Warning
47+
:::warning
4848
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.
4949
:::
5050

docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const config = {
4646
baseUrl: '/',
4747
themes: [
4848
'@docusaurus/theme-live-codeblock',
49-
],
49+
],
5050
plugins: [
5151
['docusaurus-plugin-sass', {}],
5252
[
@@ -169,6 +169,7 @@ const config = {
169169
'typescript',
170170
'cpp',
171171
'c',
172+
'bash', // bash, sh, and shell code blocks
172173
],
173174
},
174175
docs: {

i18n/ru/docusaurus-plugin-content-docs/current/v3/documentation/smart-contracts/overview.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ npm create ton@latest
4444
- [🚩 Задача 4: Лотерея/Розыгрыш](https://github.com/romanovichim/TONQuest4)
4545
- [🚩 Задача 5: Создайте пользовательский интерфейс для взаимодействия с контрактом за 5 минут](https://github.com/romanovichim/TONQuest5)
4646
- [🚩 Задача 6: Анализ продаж NFT на маркетплейсе Getgems](https://github.com/romanovichim/TONQuest6)
47+
- [Плейлист по TON разработке](https://www.youtube.com/playlist?list=PLOIvUFGfwP93tZI_WnaLyJsZlskU4ao92)
4748

4849
### Курс TON
4950

0 commit comments

Comments
 (0)