File-granular information is considered details.
Depends on D88411
Differential D88414
[clangd] Introduce memory dumping to FileIndex, FileSymbols and BackgroundIndex kadircet on Sep 28 2020, 6:18 AM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions
Comment Actions Now there's lots of usage (which looks good!) i'm finding it a bit hard to keep track of what the tree will look like overall. At some point it'd be great to: Comment Actions i was also thinking about it and couldn't decide between a "custom command" vs "code action".
I am happy to go with the "code action" approach initially. WDYT? (not in the scope of this patch) Comment Actions
Comment Actions I'm pretty leery about code action because it's not at all context-sensitive (not even per-file). Comment Actions Another slighty silly reason: because of layering, a code action is going to have a hard time getting at ClangdLSPServer's profile (or even ClangdServer's). (We could work around this in various ways, but I think we'll create a bit of a mess) |
As a conventional name for these, profile() or so might be slightly more evocative. And I think we should push this into progressively more places (that currently have ad-hoc "estimate" accessors) so the brevity is reasonable I think.
(If not, I'd even slightly prefer "record"/"measure" over "attach" as emphasizing the high-level operation rather than the data structure used can help readability)