Use the YAML-format symbols (generated by the global-symbol-builder tool) to
do the global code completion.
It is experimental only , but it allows us to experience global code
completion on a relatively small project.
Tested with LLVM project.
Differential D41668
[clangd] Add static index for the global code completion. hokein on Jan 2 2018, 9:08 AM. Authored by
Details Use the YAML-format symbols (generated by the global-symbol-builder tool) to Tested with LLVM project.
Diff Detail
Event Timeline
Comment Actions You have mentioned that YAML data source is experimental only in the patch summary, but we should also mention this in the code.
Comment Actions Thanks for the comments.
Comment Actions Ilya's suggestion to have a single index on the CodeCompleteOptions that encapsulates the merging seems reasonable to me, but not urgent.
Comment Actions
them into the final results eventually. Comment Actions
|
We are calling this global index and static index in the patch. I think we should be consistent with the naming. Generally, I think this is static index, which might be global index or, say, a set of symbols for test purpose, so I am inclined to static index.