Vscode Crystal Lang Versions Save

Yet another VSCode extension for Crystal Programming Language

v0.9.3

1 month ago
  • 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

2 months ago
  • Add highlighting for built-in spec keywords (#186)
  • Add keywords to autocomplete (#187)
  • Don't highlight method calls as unused (#188)

v0.9.1

2 months ago

Fix

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

Full Changelog: https://github.com/crystal-lang-tools/vscode-crystal-lang/compare/v0.9.0...v0.9.1

v0.9.0

2 months ago

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

2 years ago

v0.8.3

2 years ago

v0.8.2

3 years ago

Security fix and a typo

v0.8.1

3 years ago

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.

v0.8.0

3 years ago

Syntax Highlighting fixing

@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.

v0.7.3

3 years ago

#135 Add "in" to keywords and decrement indentation as "when"