Releases: pherrymason/c3-lsp
Releases · pherrymason/c3-lsp
v0.3.3
v0.3.2
v0.3.1
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 wasc3-lsp
).
v0.3.0
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
Fixes
- Fixes #59
- Fixes Go to definition / declaration broken.
v0.2.0 Error diagnostics
This release includes a new feature to the LSP: error diagnostics
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 argumentc3c-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
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
Fixed
Go to definition
/Go to declaration
on Windows.
v0.0.7
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
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.