Releases: coq/vscoq
v2.2.1
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
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
feat: add config option to control whether Coq buttons are displayed by @Durbatuluk1701 in #904vscoq.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
"vscoq.proof.pointInterpretationMode" === NextCommand
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.
Show unfocused goals
Finally this release introduces the ability to view unfocused goals.
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 '
- fix: hover for period qualifiers and single quotes in names by @Durbatuluk1701 in #899
- fix: off by one error in Hover by @Durbatuluk1701 in #903
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.
Misc
New contributors
No new contributors for this release.
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
Added
Query Panel results formatting
After externalising our lib to display PpStrings, we now support formatting in the query panel as well as in the goal panel.
Look forward to more improvements for the display of PpStrings soon
- feat: externalize pp-display library by @rtetley in #860* Update documentation by @rtetley in #856
- Search UI formatting by @rtetley in #861
New buttons and a menu
We have added the coq commands (in manual mode) as buttons accessible on top of the buffer.
On top of that we have added a main menu to access trouble shooting commands and documentation. This can be a building block for other neat features.
- feat: add buttons for the common coq navigation commands by @rtetley in #865
- feat: add a a main menu by @rtetley in #867
- feat: adding alt + shift click to expand all ellipsis goals by @Durbatuluk1701 in #871
A walkthrough
To improve the onboarding experience, we have added a walkthrough that is available at all times through the Coq: Docs: Show Setup Guide
command as well as through the main menu described earlier
Opt out of auto displaying goals
Finally, users can now opt out of the auto display of goals when running through a proof. The proof view is then accessible through the Coq: Display Proof View
command, or the corresponding button in the new coq buttons row described earlier.
Bug fixes
Thanks to @Durbatuluk1701 for fixing a bug in which feedback messages were displayed the wrong way around.
- Changing feedback messages to be appended by @Durbatuluk1701 in #874
Misc
A formatter was added for the typscript code and the documentation and changelog were updated. The changelog of the extension now points to this page.
New Contributors
Full Changelog: v2.1.7...v2.2.0
v2.1.7
What's Changed
- [parser] use the loc of the prev sentence to feed the parser by @gares in #824
- [outline] list alien, named, symbols by @gares in #832
- Don't error on deprecated warnings in ocaml code by @SkySkimmer in #841
- allows newer ppx_yojson_conf version by @CodiePP in #833
- Get all debug messages by @rtetley in #842
- More complete document state request by @rtetley in #844
- Fix fatal warnings by @rtetley in #848
- Fix max depth setting initialization by @rtetley in #847
- [CI] test coq 8.20 by @gares in #807
- Fix client tests by @rtetley in #850
- Support block on first error mode by @rtetley in #845
- Work on better system for goal ellipsis by @thery in #846
- Correct unshelve message by @rtetley in #854
New Contributors
Full Changelog: v2.1.6...v2.1.7
v2.1.6
What's Changed
- Update doc. Tweak ci. by @rtetley in #827
- Fix highlight bug by @rtetley in #828
- Stop recomputing display for big goals by @rtetley in #829
- Change default value for vscoq.goals.messages.full to true by @rtetley in #831
- Ellipsis by @rtetley in #834
- Remove display goals from package.json by @rtetley in #840
Full Changelog: v2.1.5...v2.1.6
v2.1.5
v2.1.4
What's Changed
- Adapt to coq/coq#18973. by @rlepigre in #778
- adapt to coq/coq#19147 by @gares in #793
- Use set timeout to fix goal scrolling. by @rtetley in #798
- Fix pp display by @rtetley in #804
- fixup #775 by @gares in #781
- Fix errors when recovering from interp-error by @rtetley in #801
- Quickfix are in coq 8.21 by @FissoreD in #806
- Readme updates for default proof mode Manual and typos by @Durbatuluk1701 in #808
New Contributors
- @rlepigre made their first contribution in #778
- @FissoreD made their first contribution in #806
- @Durbatuluk1701 made their first contribution in #808
Full Changelog: v2.1.3...v2.1.4
v2.1.3
What's Changed
- Fix issue with build using flake system in issue #747 by @redanaheim in #754
- Improve flake.nix, add compatibility with pkgs.vscode extensions field by @redanaheim in #760
- Adapt to coq/coq#18422 (indirect accessor handled through vernactypes) by @SkySkimmer in #756
- Correct query panel bug by @rtetley in #763
- package.json: fix typo ("on after" => "one after") by @JasonGross in #764
- Fixed some typos in the settings. by @nbrader in #765
- Parsing comments by @rtetley in #755
- [coq] Adapt to coq/coq#18890 by @ejgallego in #767
- Fixed the optcomp keywords and functions by @rtetley in #769
- Add Equations and Equations? to coq.tmLanguage.json to get coloring by @thomas-lamiaux in #771
- Formatting proof view by @rtetley in #773
- Better highlights by @rtetley in #744
- [coq] Adapt to coq/coq#17393 by @ejgallego in #775
- Adding a warning as errors job in CI by @rtetley in #782
- [coq] Adapt to coq/coq#19187 by @ejgallego in #783
- Making manual mode the default one by @rtetley in #788
- Fix highlights by @rtetley in #786
New Contributors
- @redanaheim made their first contribution in #754
- @JasonGross made their first contribution in #764
- @nbrader made their first contribution in #765
- @ejgallego made their first contribution in #767
- @thomas-lamiaux made their first contribution in #771
Full Changelog: v2.1.2...v2.1.3
v2.1.2
v2.1.1+coq8.19
What's Changed
- Upgrading language client to latest version by @rtetley in #727
- Adding goal indicator to tab view by @rtetley in #729
- Fix parse errors and highlight zone by @rtetley in #732
- Add api for step navigation in continuous mode. by @rtetley in #734
Full Changelog: v2.1.0+coq8.19...v2.1.1+coq8.19
v2.1.0+coq8.19
What's Changed
- Various adaptations to Coq 8.19 by @SkySkimmer, @herbelin, @ppedrot, @proux01
- Fix font-size in Coq Goals by @LittleJianCH in #704
- Run
vscoq.path
as a shell command from the project directory by @afdw in #715 - Coq 8.19 by @gares in #702
- Correct server crash when hover over first word. by @rtetley in #721
New Contributors
- @herbelin made their first contribution in #601
- @ppedrot made their first contribution in #685
- @proux01 made their first contribution in #681
- @LittleJianCH made their first contribution in #704
- @afdw made their first contribution in #715
- @CohenCyril made their first contribution in #717
Full Changelog: v2.0.3+coq8.18...v2.1.0+coq8.19