Embedding clients want to experiment with showing such results in e.g. a different color.
Details
Details
- Reviewers
kadircet - Commits
- rZORGd03fb0c851dc: [clangd] Expose whether no-compile completion was used.
rZORG23b1f730b6f6: [clangd] Expose whether no-compile completion was used.
rGd03fb0c851dc: [clangd] Expose whether no-compile completion was used.
rG23b1f730b6f6: [clangd] Expose whether no-compile completion was used.
rG8940f4688096: [clangd] Expose whether no-compile completion was used.
rL360039: [clangd] Expose whether no-compile completion was used.
rCTE360039: [clangd] Expose whether no-compile completion was used.
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
Comment Actions
We already have CodeCompletion::Origin which is (at least should be)set to Identifier in those cases. Is there a reason for not using it?
Comment Actions
I'd forgotten about that. A couple I can think of:
- it's for each result, they want a result-set level flag (including when there are no results, possibly *because* we didn't parse)
- identifier completion doesn't inherently mean we didn't parse, that's just the case today. I think we're going to want to offer identifiers inside comments, e.g. https://github.com/clangd/clangd/issues/44