Skip to content

Releases: ton-blockchain/ton-language-server

nightly

02 Sep 18:03
8b63885
Compare
Choose a tag to compare
nightly Pre-release
Pre-release
feat(tolk): add constant evaluator, inlay hints for evaluated constan…

v0.4.1

12 Aug 13:08
a7988a3
Compare
Choose a tag to compare

Added

  • feat(tolk/grammar): support type int = builtin and use new syntax for stubs in #129
  • feat(tolk/grammar): don't use builtin_type at all in #130

Fixes

  • fix(tolk/completion): fix onBouncedMessage completion in #134
  • fix(tolk/type-inference): correctly handle cyclic structs in #133

v0.4.0

11 Aug 10:36
fbf19c6
Compare
Choose a tag to compare

Added

  • feat(tolk/vscode): better support for triple-quotes strings in #104
  • feat(tolk/stdlib): support TOLK_STDLIB env for stdlib search in #102
  • feat(tolk/fmt): bump tolkfmt to v0.0.15 in #93
  • feat(tolk/completion): add storage snippet in #107
  • feat(tolk/completion): add snippet for catch, fix completion for catch variable names in #110
  • feat(tolk/completion): add completion option for field with Cell<Foo> type, to create Foo {}.toCell() expression in #112
  • feat(tolk/completion): add completion for entry point function names and for builtin methods in #114
  • feat(tolk/completion): better support for nullable methods in #118
  • feat(tolk/signature-help): support signature help for multiline calls in #111
  • feat(tolk/inspections): don't require ; in grammar and give an error later in #126
  • feat(tolk/documentation): show size of alias/struct in #115
  • feat(fift/navigation): add lens to go to Tolk sources for this definition in #124

Fixes

  • fix(tolk/grammar): support annotations with several arguments in grammar in #95
  • fix(tolk/intentions): add the correct default value for field with alias type in #97
  • fix(tolk/type-inference): correctly infer return type of function with several return with boolean literals in #98
  • fix(tolk/completion): show the correct type for variable in completion in #106
  • fix(tolk/find-references): correctly find reference for methods in #108
  • fix(tolk/type-inference): fix type inference inside generic calls in #119
  • fix(tolk/type-inference): fix type inference for some operators in #120
  • fix(boc): use the latest TASM in #100
  • fix(fift/highlighting): fix highlighting and go to definition for Fift names with dot in #122

Other

  • chore: bump tolkfmt to v0.0.16 in #113
  • feat(tests): improve completion tests in #116

v0.3.0

22 Jul 13:33
6042204
Compare
Choose a tag to compare

A small release with fixes and features for more convenient work.

Added

Tolk

  • feat(tolk/documentation): support inline field comments in #64
  • feat(tolk/inspections): add NeedNotNullUnwrapping inspection in #72

Func

  • feat(func/lens): add code lens for integer string literals like "..."c for FunC in #63
  • feat(func/resolving): support catch variables resolving and find references in #65
  • feat(func/inlay-hints): show implicit constant types in #67

Fixed

Tolk

  • fix(tolk): don't add ; for imports in #49
  • fix(tolk/completion): don't show type parameter in value completion in #69
  • fix(tolk/completion): don't add ; for top level declaration in completion in #74

FunC

  • fix(func/resolving): fix resolving for tensor/tuple variables with underscore in #68
  • fix(func/grammar): accept < and > as part of identifier in #70
  • fix(func/documentation): correctly show constant value in hover documentation in #71
  • fix(func/inspections): disable unused import inspection for now in #75

Other

  • feat(ci): add auto mirroring for Tolk tree-sitter grammar in #12
  • chore: bump tolkfmt to 0.0.13 in #47
  • refactor(tree-sitter-tolk): improve overall tree-sitter-tolk description in #48

v0.2.0

14 Jul 09:18
610a546
Compare
Choose a tag to compare

This release is dedicated to FunC and Tolk.

We added FunC support with many useful features and even debugging support via sandbox (big thanks
to TonTech for FunC debugger implementation)!

We also improved Tolk support and added an experimental formatter for Tolk, it is still in early stages, but already
supports all syntax of Tolk.

Added

  • feat(tolk/rename): wrap in backticks for keyword names in #21
  • feat(tolk/inspections): add unused type parameter inspection and fix find references for type parameters in #22
  • feat(tolk/toolchain): support Tolk global installation in #24
  • feat: initial FunC support in #26
  • feat(vscode): warn if FunC or Tolk extension are enabled in #34
  • feat(vscode): add action to attach to FunC debugger in #36
  • feat(tolk/completion): support match over struct type and add completion option to fill all cases in #42
  • feat(tolk): add experimental Tolk formatter in #43

Fixes

  • fix(tolk/references): fix reference handling for Foo<Bar> in #8
  • fix: fix paths to language server from archive in README.md in #23
  • fix(tolk/resolving): fix method resolving for generic structs in #25
  • fix(tolk/completion): fix completion for generic struct static methods in #30
  • fix(tolk/settings): fix inlay hints disabling in #31
  • fix(tolk/grammar): support triple quotes strings in #41

Other

  • feat(ci): add artifacts build for releases in #10
  • chore(README.md): move description after title in #13
  • fix(webpack): fixed the copying of the icons by @Danil42Russia in #16
  • fix(assets): removed an unused icon by @Danil42Russia in #17
  • feat(ci): run linter and grammar checks in #28
  • refactor(all): move VS Code extension to editors/code folder in #32
  • refactor(server): extract common languages parts in #39
  • fix(tolk/tests): fix completion tests in #45

New Contributors

v0.1.1

07 Jul 11:14
e7f8957
Compare
Choose a tag to compare

Fix bug with type compatibility, this inspection is disabled by default for now.

v0.1.0

07 Jul 08:39
ec746af
Compare
Choose a tag to compare

This is the first stable version