lean4-htt/src/Lean/Data/Lsp
Marc Huisinga af5b47295f
feat: reduce server memory consumption (#11162)
This PR reduces the memory consumption of the language server (the
watchdog process in particular). In Mathlib, it reduces memory
consumption by about 1GB.

It also fixes two bugs in the call hierarchy:
- When an open file had import errors (e.g. from a transitive build
failure), the call hierarchy would not display any usages in that file.
Now we use the reference information from the .ilean instead.
- When a command would not set a parent declaration (e.g. `#check`), the
result was filtered from the call hierarchy. Now we display it as
`[anonymous]` instead.
2025-12-01 10:53:23 +00:00
..
Basic.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
BasicAux.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
CancelParams.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Capabilities.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Client.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
CodeActions.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Communication.lean refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Diagnostics.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Extra.lean feat: reduce server memory consumption (#11162) 2025-12-01 10:53:23 +00:00
InitShutdown.lean doc: clarify server protocol violations around initialize (#11091) 2025-11-05 09:53:39 +00:00
Internal.lean feat: reduce server memory consumption (#11162) 2025-12-01 10:53:23 +00:00
Ipc.lean feat: reduce server memory consumption (#11162) 2025-12-01 10:53:23 +00:00
LanguageFeatures.lean chore: expose more String.Slice functions on String (#11308) 2025-11-23 15:33:16 +00:00
TextSync.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Utf16.lean refactor: String functions foldr, all, any, contains to go trough String.Slice (#11357) 2025-11-25 15:42:43 +00:00
Window.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Workspace.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00