Skip to content

Releases: rocq-prover/vsrocq

v2.3.4

27 Nov 09:16
v2.3.4
9853a60

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.3...v2.3.4

v2.3.3

27 Oct 12:33
v2.3.3
ccbc49c

Choose a tag to compare

What's Changed

Full Changelog: v2.3.2...v2.3.3

v2.3.2

23 Oct 09:26
v2.3.2
3961d7d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.1...v2.3.2

v2.3.1

10 Oct 10:35
v2.3.1
101a4be

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0

11 Sep 10:38
v2.3.0
9a162d4

Choose a tag to compare

This release renames the language server and extension to vsrocq

What's Changed

New Contributors

Full Changelog: v2.2.6...v2.3.0

v2.2.6

19 May 12:25
v2.2.6
5d6f49f

Choose a tag to compare

What's Changed

Fixes

This release introduces a number of fixes. Most notably:

Execution bug

Before this fix, some tasks were executed twice

  • EM: do not exec the same task twice by @gares in #1050

Problems with errored sentence in the diff and collisions in sentences map

Before this fix, two bad things would happen: the computed diff could be wrong which would cause havoc when re-parsing a document after an edit, and most notably, sometimes there were collisions in the sentences_by_end map which caused the document to be in an erroneous state (some sentences were recorded multiple times

  • fix: remember to compare errored sentences in the diff by @rtetley in #1063

Parsing events were not cancelled properly

The cancel handle was not passed properly in the state, this caused parsing events to happen multiple times and lead to poor performances as well as the infamous "reset" bug (see here)

Misc

Some other small bugs were fixed

Minor changes

Outline

A number of minor improvements were made to the outline.

Syntax coloring

Visuals

In preparation for the renaming, the logos have been replaced

Full Changelog: v2.2.5...v2.2.6

v2.2.5

26 Feb 13:32
v2.2.5
f02f07e

Choose a tag to compare

What's Changed

Fixes

Hotfix: server crashes when editing the file

A pernicious bug made it in the last release in which after executing through a parse error and then editing it, the server would crash.
This hotfix addresses this issue and is the main reason behind this small release.

  • fix: add empty dependencies even to an errored sentence by @rtetley in #1049

Minor changes

Extension activation

The extension now only activates when a Coq file is opened ! This prevents annoying messages when a user is not trying to use Coq.

Better feedback performance

There has been an ongoing issue in which commands that generate feedback, such as Search, are unusable due to the time taken to handle the produced feedback. This feature greatly improves the situation and makes such commands usable again.

Don't crash for log messages

Sometimes producing log messages crashes the server. This ensures it won't happen again.

Symbol seaching and syntax highlighting

These changes add handling some keywords to the outline and fixes the syntax highlighting for others.

New Contributors

Full Changelog: v2.2.4...v2.2.5

v2.2.4

17 Feb 09:13
v2.2.4
fd598e6

Choose a tag to compare

What's Changed

This release contains a number of fixes.

Fixed

Block on parse error

Parse errors are now treated just like execution errors for block on first error mode.

Documentation

We now open the documentation for the installed coq version (rather than master):

Goal view

Some minor display issues due to some bugs in the pp format library were fixed.

  • fix: first box of a pp string was not processed by @rtetley in #984

Color theme

A better color theme has been implemented making it so that warning messages are easy to read even in light mode:

Step Through query commands

Query commands (such as Print, Search, ...) are now stepped through. This fixes a regression in continuous mode
where they were no longer displayed and some confusing coloring of the processed area:

Fix vscoqtop arguments

A regression in which arguments passed to vscoqtop were no longer read has been fixed:

No completions found

When no completions are found we send an empty list instead of an annoying error:

Indentation

Improvements in the indentation behaviour were made:

.vos files

We now load .vos files

Server crashes

We uncovered a problem in which parsing errors could lead to a server crash. This has been fixed.

Send proof view in continuous mode

A regression in continous mode (the proof view was no longer sent when reaching the cursor position) has been fixed.

  • Send a proof view in continuous mode when cursor position was executed by @rtetley in #1014

Full Changelog: v2.2.3...v2.2.4

v2.2.3

15 Jan 16:04
v2.2.3
34ead82

Choose a tag to compare

What's Changed

This is a release that contains a hot-fix for the vscoq-version-parser which allows us to use several lsp versions.
The aforementioned bug means we could not release 2.2.2. This version supersedes it.

The hotfix in question:

  • version_parser: tolerate + in version numbers and never fail by @gares in #982

A fix was also added for finding vscoqtop path in windows.

New Contributors

Full Changelog: v2.2.2...v2.2.3

v2.2.2

14 Jan 13:23
v2.2.2
c1736f4

Choose a tag to compare

What's Changed

Important information

Due to a unforeseen problem when running the opam CI, we could not release 2.2.2, we immediately released 2.2.3 with a hotfix.

Added

Jump to definition

We have introduced jump to definition capabilities. Note this required some changes in Rocq/Coq (rocq-prover/rocq#19584) so it will only be available on Coq dev and in the next version
of Rocq/Coq.

jump_to_def

  • feat: jump to definition proof of concept by @rtetley in #911

Better goal display readibility

When there are multiple goals in list mode, we now only display the goal context for the first goal.
We also add a button allowing to hide/show the goal context.

hyp_display

  • Remove hypothesis display from goal list by @rtetley in #962

External API

This release introduces an external API, allowing developers to depend on VsCoq with their own vscode extension and gain access to this API.
Here we introduce a function which allows for an external extension to get all the proofs contained in a document.

    vscoq = extensions.getExtension('maximedenes.vscoq');
    const documentProofs = await vscoq?.exports.getDocumentProofs(document.uri);

You can expect to see more API points being added in the future.

Organisation change

VsCoq is now part of the Rocq/Coq. VsCoq Legacy will stay part of coq-community.

Documentation

  • docs: add troubleshooting section to install instructions by @rtetley in #922
  • Update developers.md with more info, allowing to use vscoq2 during de… by @mattam82 in #916

Fixed

Better cursor placement on error

In manual mode, if block on first error mode is activated, the cursor will be placed right after the error range, instead of the last
correct sentence.

error_range

  • Place the cursor at the end of the error when block on error mode is active by @rtetley in #963

Better _CoqProject support

Before this change the _CoqProject file was only searched on launch, and we could not load it after.
Note that this required some changes in Coq/Rocq (rocq-prover/rocq#19826) and will only be supported
with Coq/Rocq dev and the next version of Coq/Rocq.

Better handling of events loop and parsing

As was noted, there have been some performance issues while editing Rocq/Coq files (#914).
This was due to the design of the parsing event, which was triggered everytime a modification was detected on a file, and for the full file
(i.e. each time a user typed something, a full parse of the document was launched).
Now each line has its independant parse event allowing us to cancel prior events and only parse the most recent version of the document.

Some fixes to syntax highighting

  • syntax: Add boundary conditions when matching keywords by @Lysxia in #927
  • syntax: Highlight Goal in any context by @Lysxia in #935

Better error logging

Misc fixes

New Contributors

Full Changelog: v2.2.1...v2.2.2