|
1 | 1 | # tact-sublime
|
2 | 2 |
|
3 |
| -<center> |
| 3 | +<div align="center"> |
4 | 4 | <img src=".github/media/banner.png" alt="Tact + Sublime Text"/>
|
5 |
| -</center> |
| 5 | +</div> |
6 | 6 |
|
7 | 7 | 🚀 Adds syntax highlighting, folding, code snippets, and miscellaneous support for the [Tact programming language](https://tact-lang.org/) to Sublime Text [3* and onward](#compatibility).
|
8 | 8 |
|
9 |
| -⚡ Tact is a new programming language for TON blockchain focused on efficiency and simplicity. It is designed to be easy to learn and use and a good fit for smart contracts because it is a statically typed language with a simple syntax and a powerful type system. |
| 9 | +⚡ Tact is a fresh programming language for TON blockchain focused on efficiency and simplicity. It is designed to be easy to learn and use and a good fit for smart contracts because it is a statically typed language with a simple syntax and a powerful type system. |
| 10 | + |
| 11 | +[](https://tact-lang.org) |
| 12 | +[](https://docs.tact-lang.org) |
| 13 | +[](https://x.com/tact_language) |
| 14 | +[](https://t.me/tactlang) |
| 15 | +[](https://t.me/tact_kitchen) |
10 | 16 |
|
11 | 17 | ## Features
|
12 | 18 |
|
@@ -105,32 +111,11 @@ Don't forget to run git pull from time to time to get the latest updates of this
|
105 | 111 |
|
106 | 112 | When the language server supports it, the [**LSP** package](https://packagecontrol.io/packages/LSP) enables improved autocomplete, go-to-definition, formatting, "hover docs," compiler errors and warnings, general diagnostics, and more.
|
107 | 113 |
|
108 |
| -To set it up, install the package and open its settings (**Preferences: LSP Settings** in the command palette), then add this config: |
109 |
| - |
110 |
| -```json |
111 |
| -{ |
112 |
| - "clients": { |
113 |
| - "Tact": { |
114 |
| - "enabled": true, |
115 |
| - "command": ["tact-extracted-ls", "--stdio"], |
116 |
| - "selector": "source.tact" |
117 |
| - } |
118 |
| - } |
119 |
| -} |
120 |
| -``` |
121 |
| - |
122 |
| -Additionally, you can disable all snippets and suggestions provided by this (and other) packages and leave everything to LSPs. To do so, set `"inhibit_snippet_competions"` to `true` right after `"clients"` in the same settings (**Preferences: LSP Settings** in the command palette): |
123 |
| - |
124 |
| -```json |
125 |
| -{ |
126 |
| - "clients": { /*...*/ }, |
127 |
| - "inhibit_snippet_completions": true |
128 |
| -} |
129 |
| -``` |
| 114 | +To install the base **LSP** package and set up the [official Tact language server](https://github.com/tact-lang/tact-language-server), refer to: [Editor Setup > Sublime Text](https://github.com/tact-lang/tact-language-server#sublime-text). |
130 | 115 |
|
131 |
| -The configurations above assume you have installed the Tact language server extracted from the [tact-vscode](https://github.com/tact-lang/tact-vscode). If not, run `npm i—g tact-extracted-ls` to install it. |
| 116 | +For additional customization of the **LSP** package, see its [Customization page](https://lsp.sublimetext.io/customization/). |
132 | 117 |
|
133 |
| -To set up keyboard shortcuts for the language server, see [Key Bindings](https://lsp.sublimetext.io/customization/#keyboard-shortcuts-key-bindings). |
| 118 | +For example, to set up keyboard shortcuts for the language server, see [Key Bindings](https://lsp.sublimetext.io/customization/#keyboard-shortcuts-key-bindings). |
134 | 119 |
|
135 | 120 | ## Compatibility
|
136 | 121 |
|
|
0 commit comments