lean4-htt/src/Lean/Server/FileWorker
Kyle Miller c46f1e941c
fix: sorry in Infoview shouldn't show module name (#7813)
This PR fixes an issue where `let n : Nat := sorry` in the Infoview
pretty prints as ``n : ℕ := sorry `«Foo:17:17»``. This was caused by
top-level expressions being pretty printed with the same rules as
Infoview hovers. Closes #6715. Refactors `Lean.Widget.ppExprTagged`; now
it takes a delaborator, and downstream users should configure their own
pretty printer option overrides if necessary if they used the `explicit`
argument (see `Lean.Widget.makePopup.ppExprForPopup` for an example).
Breaking change: `ppExprTagged` does not set `pp.proofs` on the root
expression.
2025-04-10 21:47:07 +00:00
..
ExampleHover.lean feat: language reference links and examples in docstrings (#7240) 2025-03-12 09:17:27 +00:00
InlayHints.lean fix: search path related bugs (#7873) 2025-04-09 15:37:49 +00:00
RequestHandling.lean fix: search path related bugs (#7873) 2025-04-09 15:37:49 +00:00
SemanticHighlighting.lean feat: 'unknown identifier' code actions (#7665) 2025-04-02 09:43:40 +00:00
SetupFile.lean fix: search path related bugs (#7873) 2025-04-09 15:37:49 +00:00
Utils.lean feat: allow async elab tasks to contribute to info trees reported to linters and request handlers (#7457) 2025-03-13 15:09:00 +00:00
WidgetRequests.lean fix: sorry in Infoview shouldn't show module name (#7813) 2025-04-10 21:47:07 +00:00