Clangd doesn't suggest while I'm typing like 'shared' (I want std::shared_ptr
suggested), unless the corresponding headers are included.
But in another project of mine, clangd works well.
I notice that only type
s miss in the broken one, function
s in STL are suggested as expected.
Configurations of clangd in this two projects are exactly the same.
What I expect:
While I'm typing like std::abc
, clangd should suggest all possibilities in std
matching abc
.