Skip to content

v2.2.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Sep 08:33
· 93 commits to main since this release
v2.2.1
f13ff1a

What's Changed

Added

Better pretty printing library

The library we built to pretty print terms has been considerably improved. Drawing from Oppen's algorithm we are now much faster at displaying goals
better_pp

  • feat: optimize pp-display for a better and faster goal view and query panel by @rtetley in #900

This lays for the groundwork for further optimisations.

New options

Two new options have been introduced thanks to @Durbatuluk1701:

  • vscoq.proof.display-buttons provides a way to disable the proof navigation and general buttons from the buffer
    image
    feat: add config option to control whether Coq buttons are displayed by @Durbatuluk1701 in #904
  • vscoq.proof.pointInterpretationMode determines the behaviour of the interpret to mode command, does it consider the sentence under the cursor or not ?
    "vscoq.proof.pointInterpretationMode" === Cursor
    interpret_mode_cursor
    "vscoq.proof.pointInterpretationMode" === NextCommand
    interpret_mode_next_command
    feat: adding option for interpreting to exact cursor position or next command during interpret to point by @Durbatuluk1701 in #875

Prompt queries

The query actions now open a prompt window, if the cursor is pointing at a word, it pre-fills the prompt with the given word.

prompt_queries

  • feat: query actions are now done with prompts by @rtetley in #902

Show unfocused goals

Finally this release introduces the ability to view unfocused goals.

unfocused_goals

  • feat: show message when goals are unfocused by @rtetley in #901

Fixed

Better hover

A number of fixes were introduced for hovers. We now differentiate between modules and their components. We also can over hover words containing '

fixed_hover

Activity bar logo display

Finally, the VsCoq activity bar now only appears when there are coq files present in the workspace

  • fix: make VsCoq activity bar logo appear only when Coq files present by @Durbatuluk1701 in #897

Goal view fixes

Note that the previously introduced improvements to pretty printing also solved a number of printing bugs such as printing inductive types.

fix_pp_display

Misc

New contributors

No new contributors for this release.

Full Changelog: v2.2.0...v2.2.1