Open kadircet opened 2 years ago
Yes, I want this all the time and always do the dumb two-step version.
The trick is getting the layering right: FindUsing doesn't know about the namespace (though I guess the recovered AST has it...) and Sema doesn't know where to insert using.
Clangd already suggests qualifying symbols e.g:
In addition to that, we can also offer a fix that inserts a using declaration.