Repository navigation
Add docView and Lean4 Show All Abbreviations that displays the current list of abbreviations - #63
Conversation
…ons and their unicode symbols in the InfoView.
|
I am very positive about the feature of displaying all abbreviations (sometimes I have to look them up in the .json file!), however I think a "fake"
What do you think? |
|
100% agreed with Wojciech. I would expect I wouldn't have put the table in the infoview either (in my mind, the infoview is for information about the current file, not for documentation). I'd prefer to put the table in a separate tab (i.e., another, separate webview). But I don't feel too strongly on this. |
|
I also agree regarding putting documentation in its own webview. It might fit quite naturally into the docview (#47). |
|
@Kha fwiw, I hate this feature in Emacs because every time I mispress Tab while trying to complete an abbreviation despite there being none to complete, that list will appear and I then have to go close it. |
|
thanks for all the great feedback, I modified the PR to provide a new command "lean4.showAllAbbreviations" that shows the help in the docview. |
Lean4 Show All Abbreviations that displays the current list of abbreviations in the docview.
Lean4 Show All Abbreviations that displays the current list of abbreviations in the docview.Lean4 Show All Abbreviations that displays the current list of abbreviations
gebner
left a comment
There was a problem hiding this comment.
Styling-wise: I think single column was the right decision. I'm not sure if it's a good idea to increase the font size, the list is long and it's probably more useful to see more abbreviations per page (you can always ctrl-= to increase the font size). It might also make sense to use the same (monospace) font that is also used in the editor. I would also print \alpha instead of alpha (i.e. include with the leader character).
fix: CR feedback on symbolsByAbbreviation
Fixed. |

Add "Lean 4: Show All Abbreviations" command that writes to the docview and from there you can use the handy vscode search feature.