Skip to content

Releases: pherrymason/c3-lsp

v0.4.0

02 Feb 16:46
Compare
Choose a tag to compare

This new version brings new features and some great fixes.
It also drops support to c3c < 0.6.4

New features

  • Support <* and *> comments. (#91) Credit to @PgBiel
  • Show documentation on hover and completion. Credit to @PgBiel
  • Support distinct types. Credit to @PgBiel
  • Improve syntax highlighting in function information on hovering. Credit to @PgBiel
  • Adds type information as well as other information to completions. Credit to @PgBiel
  • Improve macro handling. #103. Credit to @PgBiel
  • Support more function arguments. #114. Credit to @PgBiel
  • Add documentation for stdlib indexes. Credit to @PgBiel
  • Include stdlib symbols for 0.6.4, 0.6.5 and 0.6.6. Credit to @PgBiel

Fixes

  • Fix crash while writing an inline struct member. (#97)
  • Optimizations to reduce CPU usage by 6-7x. Credit to @PgBiel #99
  • Fix parsing of non-type alias def (Credit to @PgBiel)
  • Fix completion of enum and fault methods. #111. Credit to @PgBiel

v0.3.3

09 Dec 07:38
Compare
Choose a tag to compare
  • Support named and anonymous sub structs.
  • Fix clearing old diagnostics. (#89, #83, #71, #62)
  • Fixed crash in some scenarios where no results were found.
  • Fix crash when using with Helix editor (#87)

v0.3.2

13 Sep 06:21
Compare
Choose a tag to compare
  • Added new option in c3lsp.json to be able to specify more compiler arguments. Fixes #69 . Format
  • Fix releases for linux by using tar.gz and giving it execution permissions. Fixes #65

v0.3.1

06 Sep 18:21
Compare
Choose a tag to compare

Changelog

  • Added compatibility with stdlib symbols for C3 0.6.2.
  • Fixes diagnostic errors persisting after they were fixed (#62).
  • C3 Version argument is no longer mandatory. It will try to load last C3 supported version.
  • Fallback to last C3 supported version if provided version is not supported.
  • Binary name changed to c3lsp (before it was c3-lsp).

v0.3.0

01 Sep 11:14
d401a25
Compare
Choose a tag to compare

News

  • LSP configuration per project: Place a c3lsp.json in your c3 project to customize LSP configuration. This will also allow to use new configuration settings without needing to wait for IDE extensions to be updated. See Configuration for details.
  • Inspect stdlib. Use go to declaration/definition on stdlib symbols by configuring its path in c3lsp.json.

Fixes

  • Fixes diagnostics in Windows platform.

v0.2.1 hotfix

27 Aug 16:21
Compare
Choose a tag to compare

Fixes

  • Fixes #59
  • Fixes Go to definition / declaration broken.

v0.2.0 Error diagnostics

27 Aug 06:22
Compare
Choose a tag to compare

This release includes a new feature to the LSP: error diagnostics

image

In order to work, there are some requirements:

  • You will need last version of c3c (>=0.6.2) as some fixes had to be done there (Thanks @clerno !)
  • Either you have c3c in your PATH, or you use set its path with the new argument c3c-path.

A new argument has been added to control the delay of diagnostics being run: diagnostics-delay. By default is 2 seconds.

v0.1.0

17 Aug 15:50
Compare
Choose a tag to compare

Improvements:

  • C3 language keywords are now suggested in TextDocumentCompletion operation. Thanks @nikpivkin for suggestion.

Fixes:

  • Server crashing when writing a dot inside a string literal. #44 Thanks @nikpivkin for reporting.
  • Server crashing when creating a new new untitled c3 file from VS Code without workspaces. Thanks @nikpivkin for fixing.
  • Server crashing when not finding symbol. Thanks @tclesius for reporting.

v0.0.8 hotfix

04 Aug 14:17
Compare
Choose a tag to compare

Fixed

  • Go to definition / Go to declaration on Windows.

v0.0.7

02 Aug 15:50
a6fd018
Compare
Choose a tag to compare

New

  • Include symbols for stdlib 0.6.1
  • New argument --lang-version to specify which c3 version to use

Fixes

  • Improvements indexing stdlib symbols: Generic parameters were ignored.
  • Improvements in resolving types referencing generic parameters.
  • Go to declaration/definintion failed in Windows.