[new release] coq-lsp (0.2.4+9.1) #28534
Open
+80
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Language Server Protocol native server for Coq
CHANGES:
remove our own local wrapper (@ejgallego, [goaldump] Also serialize goals in sexp format. ejgallego/rocq-lsp#975).
petanque/ast
andpetanque/ast_at_pos
(@ejgallego, @JulesViennotFranca, [petanque] Add new methods to get ast from string and from document. ejgallego/rocq-lsp#980)
many feature requests such as syntax coloring, dependency
extraction, etc... (@ejgallego, @JulesViennotFranca, [serlib] Support for generic Ast analyzers ejgallego/rocq-lsp#981)
(@ejgallego, [fleche] Support "rocq" markdown delimiters in .mv files ejgallego/rocq-lsp#987)
_RocqProject
ejgallego/rocq-lsp#934)refactor the response type to accommodate different
meta-data. Note: (!) breaking change. (@ejgallego, [lsp] [getDocument] Allow to get goals in one shot. ejgallego/rocq-lsp#985, fixes
Missing of_yojson for FlecheDocument module ejgallego/rocq-lsp#862, thanks to the Alectryon team)
Adrien from Zulip)
Lang.Point
and
Lang.Diagnostic
types, via global flags that allow us tochoose the input/output representation for non-standard field such
as [Point.offset]. This ensures that leaks of these non-standard
fields are rarer. (@ejgallego, [lsp] Handle protocol extensions better ejgallego/rocq-lsp#995, cc LSP improvements tracker issue ejgallego/rocq-lsp#279, cc [build] Common LSP libraries ejgallego/rocq-lsp#2, thanks to
Adrien from Zulip)
coq-lsp.completion
json object. Theunicode_completion
settingis now deprecated, and has been replaced by
completion.unicode.enable
(@ejgallego, Configurable completion chars ejgallego/rocq-lsp#993)are now configurable via the server setting variable
completion.unicode.commit_chars
. (@Durbatuluk1701, Configurable completion chars ejgallego/rocq-lsp#993)proof/goals
:messages_follow_goal
. Iftrue
,proof/goals
will show errors and messages for the same sentence goals are
shown; if
false
, it will always show errors and messages for thespecified
position
, if there is a Rocq sentence at hand(@jpoiret, @ejgallego, [lsp] Return executed sentence info in goal request. ejgallego/rocq-lsp#999, fixes:
error
field ofproof/goals
does not respectgoal_after_tactic
ejgallego/rocq-lsp#941)Pcoq.unfreeze
but that is not enough, in particular the call toget_default_proof_mode
will not be correct (@ejgallego, @pimotte,[coq] [bugfix] Set state properly before parsing ejgallego/rocq-lsp#1011, fixes [bug] Properly handle proof mode ejgallego/rocq-lsp#656)
@ejgallego, Base is not present in opam dependencies ejgallego/rocq-lsp#1004)
now the default for the .vsix binary build. For now, we include
Rocq's Stdlib and Waterproof (@corwin-of-amber, @ejgallego,
@pimotte, [web worker] WASM-based Web Worker ejgallego/rocq-lsp#1008, cc JS Worker Meta Issue ejgallego/rocq-lsp#833, fixes [js worker] Scheduling and interruption problems ejgallego/rocq-lsp#907, fixes [js] WebAssembly Support ejgallego/rocq-lsp#908, fixes [web] Web extension download the Coq filesystem uncompressed. ejgallego/rocq-lsp#913)
x-maintenance-intent
intent field. (@ejgallego,[opam] Added x-maintenance-intent field. ejgallego/rocq-lsp#1020)
languageId
now takes priority over uri extensionin LSP
didOpen
. (@ejgallego, [lsp] [didOpen] RespectlanguageId
parameter ejgallego/rocq-lsp#1021, fixes Processing Coq sources extracted from .rst/.md files ejgallego/rocq-lsp#1005)coq-layout-engine
printer, both inclient and server parts (@ejgallego, [layout engine] Move Coq Layout engine tree to coq-lsp repos. ejgallego/rocq-lsp#668, see also [roadmap] coq-layout-engine general issue ejgallego/rocq-lsp#72 and
[draft] New printer prototype jscoq/jscoq#282 )
$/coq/executionInformation
whichwill signal clients when rocq-lsp does intent to start to execute a
sentence. Experimentally, this is used to provide a red glow on
long-running commands in coq-lsp/VSCode, to provide better user
feedback on long-running commands (@ejgallego, suggested by
@jpoiret, [lsp] [fleche] New notification
$/coq/executionInformation
ejgallego/rocq-lsp#1002)Notation
,Ltac
andLtac Notation
inoutline entries (@ejgallego, [coq] [serlib] Ast analysis / outline for Notation, Ltac, and Tactic Notation ejgallego/rocq-lsp#1025, fixes Ltac, Notation and Tactic Notation doesn't appear in the document overview ejgallego/rocq-lsp#632)