Skip to content

Releases: deimonn/code-re2c

v0.3.0

26 Jan 03:34
Compare
Choose a tag to compare

Added

  • Added a warning notification when language detection for a file fails, together with fix suggestions
  • Added an error notification when a language identifier provided in the settings is not registered
  • Added defaultLanguageId setting to default the language of a file matching the detect glob but whose language could not be detected

Fixed

  • Fixed an important bug where the extension would start running the re2c binary over every single modified file during a "replace all" operation, causing significant lag

v0.2.1

02 Dec 01:37
Compare
Choose a tag to compare

Fixed

  • Fixed the extension README not rendering properly within VSCode

v0.2.0

02 Dec 00:27
Compare
Choose a tag to compare

Added

  • Support for D, Haskell, Java, JavaScript, OCaml, Python, V and Zig
  • Language detection for .re files; now instead of relying on the files.associations setting, the language of a file named like lexer.re will be inferred based on the contents of its first line (see the README.md)
  • Highlighting for the new /*!svars:re2c ... */ and /*!mvars:re2c ... */ blocks
  • New ignore setting to determine files that the extension should ignore
  • New detect setting to determine files for which the extension should infer their language

Changed

  • Extension now starts up with VSCode rather than when a supported language is detected; this is necessary since re2c 4.0 can work with potentially any language
  • Touched up the extension description and logo a bit

Removed

  • The default associations created by this extension have been removed

v0.1.3

29 Apr 16:13
Compare
Choose a tag to compare

Fixed

  • Fixed - being highlighted as an operator at the beginning of a character class

v0.1.2

27 Apr 23:51
Compare
Choose a tag to compare

Fixed

  • Fixed \] escape not being properly detected in character classes

v0.1.1

26 Apr 16:01
Compare
Choose a tag to compare

Fixed

  • Fixed linting straight up not working