leanprover / leanprover/vscode-lean4
RFC: collapsing hyps in infoview
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 313
- Forks
- 104
- Avg merge
- 1h 56m
- Merged PRs (30d)
- 1
Description
When InfoView has many hypotheses, users have to scroll a lot to examine them. In particular some hypothesis are multil-line taking a lot of screen space. It would be nice if we could collapse multi-line hyps into one line when needed, similar to how it is done for goals (via a clickable triangle control next to the name).
FYI: this is what we have in proof-general model in Emacs for Coq, and I found it very handy.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the InfoView implementation and the existing goal-collapsing behavior in the VS Code extension. Add equivalent clickable-triangle collapsing for multiline hypotheses, and verify that expanded and collapsed hypotheses remain usable while reducing scrolling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100