{"id":13734670,"url":"https://github.com/novusnota/tact-extracted-ls","last_synced_at":"2025-07-15T17:32:10.831Z","repository":{"id":233557676,"uuid":"732092856","full_name":"novusnota/tact-extracted-ls","owner":"novusnota","description":"(deprecated) ⚡ Tact language server (of LSP specification), extracted and re-packaged from its official VSCode extension.","archived":true,"fork":false,"pushed_at":"2025-03-06T14:21:01.000Z","size":5649,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T16:06:16.972Z","etag":null,"topics":["language-server","lsp","lsp-server","tact","the-open-network","ton","ton-blockchain"],"latest_commit_sha":null,"homepage":"https://github.com/tact-lang/tact-vscode","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/novusnota.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-15T16:16:25.000Z","updated_at":"2025-03-06T14:21:32.000Z","dependencies_parsed_at":"2024-11-23T17:00:43.849Z","dependency_job_id":null,"html_url":"https://github.com/novusnota/tact-extracted-ls","commit_stats":null,"previous_names":["novusnota/tact-extracted-ls"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/novusnota/tact-extracted-ls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novusnota%2Ftact-extracted-ls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novusnota%2Ftact-extracted-ls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novusnota%2Ftact-extracted-ls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novusnota%2Ftact-extracted-ls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/novusnota","download_url":"https://codeload.github.com/novusnota/tact-extracted-ls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novusnota%2Ftact-extracted-ls/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263256413,"owners_count":23438250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["language-server","lsp","lsp-server","tact","the-open-network","ton","ton-blockchain"],"created_at":"2024-08-03T03:00:58.713Z","updated_at":"2025-07-15T17:32:10.823Z","avatar_url":"https://github.com/novusnota.png","language":"JavaScript","funding_links":[],"categories":["🎯 Get Coding in Tact"],"sub_categories":["Developer Tools"],"readme":"# DEPRECATED! Use http://github.com/tact-lang/tact-language-server instead!\n\n⚡ Tact language server (of LSP specification), extracted and re-packaged from its official [VSCode extension](https://github.com/tact-lang/tact-vscode).\n\n⚙ Automatically builds upon updates in the upstream VSCode extension through Github Actions.\n\n## Features\n\n* Code completion for all variables, functions, global parameters and unique types for tact\n* Code completion for all contracts / libraries in the current file and all referenced imports\n* Error highlighting\n* Additional information by hover event (very scarce)\n\n## Known issues\n\n* Formatter from the Tact's [VSCode extension](https://github.com/tact-lang/tact-vscode) is not a part of language server implementation (i.e. not in `server.ts`), and therefore it's unaccessible in such re-packaged form.\n\n## Installation\n\nThe only requirement is having a Node.js version 20 or higher installed. Then, run the following command to install the extracted Tact language server:\n\n```bash\nnpm i -g tact-extracted-ls\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eAlternatives\u003c/summary\u003e\n  \u003cp\u003e\u003c/p\u003e\n\n  Using `yarn`:\n\n  ```bash\n  yarn global add tact-extracted-ls\n  ```\n\n  Using `pnpm`:\n\n  ```bash\n  pnpm add -g tact-extracted-ls\n  ```\n\n  Using `bun`:\n\n  ```bash\n  bun add -g tact-extracted-ls\n  ```\n\n\u003c/details\u003e\n\n\u003cp\u003e\u003c/p\u003e\n\n## Clients\n\nThe following editors and IDEs have available clients:\n\n\u003c!--\n  TODO: plugins or PRs to support default configuration\n  (or at least submit a PR for default configuration)\n\n- [Helix](https://helix-editor.com/) (built-in support)\n- Sublime Text (plugin is in the making)\n- Emacs        (plugin is in the making)\n- Neovim: nvim-lspconfig, mason-lsp\n--\u003e\n\n* [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=KonVik.tact-lang-vscode)\n* Sublime Text ([see below](#sublime-text))\n* Vim ([see below](#vim))\n* Neovim ([see below](#neovim))\n* Helix ([see below](#helix))\n* Oni ([see below](#oni))\n* IntelliJ IDEA and related IDEs from JetBrains ([see below](#jetbrains))\n\n### Sublime Text\n\nFirst, install the [**LSP** package](https://packagecontrol.io/packages/LSP) if it's not installed already.\n\nThen, open its settings (**Preferences: LSP Settings** in the command palette, \u003ckbd\u003eCtrl/Cmd\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e), then add this config:\n\n```json\n{\n  \"clients\": {\n    \"Tact\": {\n      \"enabled\": true,\n      \"command\": [\"tact-extracted-ls\", \"--stdio\"],\n      \"selector\": \"source.tact\"\n    }\n  }\n}\n```\n\n### Vim\n\nFor Vim 8 or later install the plugin [prabirshrestha/vim-lsp](https://github.com/prabirshrestha/vim-lsp) and add the following to `.vimrc`:\n\n```vim\nif executable('tact-extracted-ls')\n  au User lsp_setup call lsp#register_server({\n        \\ 'name': 'tact',\n        \\ 'cmd': {server_info-\u003e['tact-extracted-ls', '--stdio']},\n        \\ 'allowlist': ['tact'],\n        \\ })\nendif\n```\n\nFor Vim 8 or Neovim using [YouCompleteMe](https://github.com/ycm-core/YouCompleteMe), add the following to `.vimrc`:\n\n```vim\nlet g:ycm_language_server =\n    \\ [\n    \\   {\n    \\     'name': 'tact',\n    \\     'cmdline': [ 'tact-extracted-ls', '--stdio' ],\n    \\     'filetypes': [ 'tact' ],\n    \\   }\n    \\ ]\n```\n\nFor Vim 8 or Neovim using [neoclide/coc.nvim](https://github.com/neoclide/coc.nvim), according to [it's Wiki article](https://github.com/neoclide/coc.nvim/wiki/Language-servers#bash), add the following to your `coc-settings.json`:\n\n```jsonc\n  \"languageserver\": {\n    \"tact\": {\n      \"command\": \"tact-extracted-ls\",\n      \"args\": [\"--stdio\"],\n      \"filetypes\": [\"tact\"],\n      \"ignoredRootPaths\": [\"~\"]\n    }\n  }\n```\n\n### Neovim\n\nFor Neovim 0.8 and later:\n\n```lua\nvim.api.nvim_create_autocmd('FileType', {\n  pattern = 'tact',\n  callback = function()\n    vim.lsp.start({\n      name = 'tact-extracted-ls',\n      cmd = { 'tact-extracted-ls', '--stdio' },\n    })\n  end,\n})\n```\n\nFor Neovim prior to 0.8 and using [autozimu/LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim), add the following to `init.vim`:\n\n```vim\nlet g:LanguageClient_serverCommands = {\n    \\ 'tact': ['tact-extracted-ls', '--stdio']\n    \\ }\n```\n\n### Helix\n\nCreate or open `~/.config/helix/languages.toml` (Use `~\\AppData\\Roaming\\helix\\languages.toml` on Windows) and add the following:\n\n```toml\n[[language]]\nname = \"tact\"\nlanguage-servers = [\"tact-extracted-ls\"]\n\n[language-server.tact-extracted-ls]\ncommand = \"tact-extracted-ls\"\nargs = [ \"--stdio\" ]\n```\n\n### Oni\n\nOn the config file (**File → Preferences → Edit Oni config**) add the following configuration:\n\n```javascript\n\"language.tact.languageServer.command\": \"tact-extracted-ls\",\n\"language.tact.languageServer.arguments\": [\"--stdio\"],\n```\n\n### JetBrains\n\nAs of now, Language Server Protocol support is unofficial and only available in IntelliJ IDEA and related IDEs from JetBrains through 3rd-party plugins. Instead, please use the official extension for all things TON in IntelliJ IDEs: [intellij-ton](https://plugins.jetbrains.com/plugin/23382-ton).\n\n### The rest\n\nDidn't find your editor on the list? Try searching for tips in the respective documentation or related community resources.\n\nNote, that some editors may not support the Language Server Protocol (LSP), in which case you're out of luck until such support is added by editor maintainers or external contributors, such as yourself.\n\nIf you did manage to set up and use the Tact language server in your editor, then please file an issue or submit a PR to this repository and explain how you did it 🤗\n\n## Contributing\n\nIf you have any issues which arise ONLY in the case of using provided language servers outside of VSCode, please, file an issue to [the present repository](https://github.com/novusnota/tact-extracted-ls/issues).\n\nIn any other case, please, file issues to the upstream extension repository: [Tact VSCode extension](https://github.com/tact-lang/tact-vscode).\n\n## Credits\n\nBased on [The Open Network](https://ton.org).\n\nPackaged with 🤍 by [Novus Nota](https://github.com/novusnota).\n\n## License\n\n* Packaging: [MIT](https://github.com/novusnota/tact-extracted-ls/blob/main/LICENSE) © [Novus Nota](https://github.com/novusnota)\n* [VSCode extension](https://github.com/tact-lang/tact-vscode): [Apache License 2.0](https://github.com/tact-lang/tact-vscode/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovusnota%2Ftact-extracted-ls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovusnota%2Ftact-extracted-ls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovusnota%2Ftact-extracted-ls/lists"}