Skip to content

feat: 'what's this?' button - #813

Open
Vtec234 wants to merge 2 commits into
masterfrom
whats-this
Open

Vtec234 wants to merge 2 commits into
masterfrom
whats-this

Conversation

@Vtec234

@Vtec234 Vtec234 commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

This PR adds a 'What's this?' button to the lower-left corner of the InfoView and an associated tooltip. The tooltip gives a brief description, notes that widgets can be used to customize the display, and links to the extension manual.

The refman link needs leanprover/reference-manual#977 to be merged first.

@Vtec234
Vtec234 requested a review from mhuisi October 27, 2026 20:14

@mhuisi mhuisi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice.

position: fixed;
bottom: 10px;
left: 10px;
z-index: 37;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

</p>
<p>
Learn more in the&nbsp;
<a href="https://github.com/leanprover/vscode-lean4/blob/master/vscode-lean4/manual/manual.md#infoview">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also have a built-in manual view that we could link to, but its rendering is a bit worse than GitHub. Thoughts?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants