Skip to content

Releases: pherrymason/c3-lsp

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.

v0.0.6

20 Jun 06:25
Compare
Choose a tag to compare

New

  • New LSP feature: SignatureHelper
  • Improved resolution of references to types inside indexed symbols (Examples: variable types, function argument and return types, definitions...)
  • Support optional types.
  • Include Stdlib v0.6 symbols.

Fixes

  • c3i files were ignored.
  • Difficulties parsing symbols on files that contained bitstructs with defined ranges.
  • Stdlib was not properly indexed, which resulted in stdlib symbols not resolved in some situations.
  • Fix completion on stdlib struct methods.
  • Clear obsolete indexed symbols as documents are modified.
  • Remove indexed elements when a file is removed.
  • Symbols were holding old filenames after files being renamed.

0.0.5

02 Jun 17:35
Compare
Choose a tag to compare

Server

  • Added supports for Enum methods and associative values.
  • Parse type information of defs and struct members.
  • Properly resolve access path when a def is traversed.
  • PENDING: Properly resolve struct members when they include implicit module path
  • Resolve partial module paths properly.
  • Resolve stdlib symbols: This version includes stdlib symbols from c3 0.5.5.

Visual Studio Code Extension

  • Fix passing arguments to server.