Skip to content

Releases: crystal-lang-tools/vscode-crystal-lang

v0.9.5

06 Jul 00:42
Compare
Choose a tag to compare
  • Add configuration option crystal-lang.server-env for adding environment variables to be passed to the LSP

v0.9.4

16 May 06:43
Compare
Choose a tag to compare
  • Add configuration option crystal-lang.disable-gc to disable the garbage collector when running compiler tools.

v0.9.3

01 Mar 16:03
Compare
Choose a tag to compare
  • Don't highlight unused after macro interp (#190)
  • Don't autocomplete in comments (#178)
  • Spec bug fix
  • Improve word pattern regex to not match colons preceding namespaces

v0.9.2

20 Feb 18:19
Compare
Choose a tag to compare
  • Add highlighting for built-in spec keywords (#186)
  • Add keywords to autocomplete (#187)
  • Don't highlight method calls as unused (#188)

v0.9.1

07 Feb 01:23
c016a9f
Compare
Choose a tag to compare

Fix

  • V 0.9 won't catch some errors #183
  • Spawn problem tool if crystal tool dependencies failed
  • General formatting

Full Changelog: v0.9.0...v0.9.1

v0.9.0

02 Feb 01:15
93e0605
Compare
Choose a tag to compare

Fix

  • Color change when adding return type to class method #157
  • Error executing Crystal plugin. spawn crystal ENOENT #102,
    Error executing Crystal plugin. spawn bash ENOENT in Windows #172
  • Auto-formatting issue with some keywords #158
  • Hover feature does not work with Windows11 PC and v0.8.4 of the extension (Native Windows Crystal, not WSL) #176
  • With compiler path set properly still get error upon opening first .cr file #177
  • Max processes not respected (there's now only one instance of the compiler running at once) #122
  • Use a separate task provider for shards (thanks @refi64) #145
  • Stop the LSP when the extension is shutting down, where previously it would just stay on / active

Add

  • Ability to view and debug expanded source code from macros #4
  • Add support for Jump to Definition #42
  • Crystal support in Markdown code blocks #56
  • Add Crystal Specs to native Testing UI (disabled by default for user-experience) #163
  • Supporting mutiple main files (entry points) for a single project #175
  • Add unused variable highlighting (thanks @grkek) #155
  • make Crystal grammar compatible with TextMate (thanks @WhereIsX) #150
  • GitHub Codespaces support (as long as Crystal is installed)
  • Show problems in ECR files

v0.8.4

27 Jan 14:48
Compare
Choose a tag to compare
0.8.4

v0.8.3

27 Jan 13:51
Compare
Choose a tag to compare
0.8.3

v0.8.2

07 Apr 06:34
8f1b672
Compare
Choose a tag to compare

Security fix and a typo

v0.8.1

07 Mar 17:18
725ef5c
Compare
Choose a tag to compare

Syntax Highlighting fixing - previous was failing due to version not updated

@HertzDevil #136

  • Fix syntax highlighting for the 0 literal

@oprypin #137

  • Add missing "rare" keywords for opening a type, such as enum.
  • Remove non-keywords: initialize, it, alias_method, and and others.
  • Add missing keywords such as forall.
  • Don't highlight keywords right before a colon, these always become named args. Fixes #133.
  • Highlight .is_a? and other pseudo-methods as keywords.
    *Update the list of builtins, for example, remove delay, add gets.
  • Don't highlight builtins if they immediately follow a dot.
    *Don't highlight builtins such as class_property as keywords, rather just normal builtins.
    *Remove Ruby's %W %S %R %s strings, add %i strings.
  • Remove Ruby's arbitrary delimiter strings %OstringO, keep only %|string|.
  • Highlight quoted symbols :"sym" same as normal symbols.
  • Update the list of regex flags.
  • Highlight :[]= symbol just like :[]?.
  • Precisely define what kind of escape sequences in a string are valid.