LSP-clangd
LSP-clangd copied to clipboard
Auto complete feature is not so accurate for struct variables
-
There are some extra unwanted completions (which are snippets) for a struct variable as the image below:
-
If I type dot after a struct pointer, no struct variables show up. Even if type a struct member after the dot, the dot will not transfer to '->'. But in VSCode with clangd plugin, If I type dot after a struct pointer, struct variables will show up, and the dot will transfer to '->' correctly.
This issue is duplicated with https://github.com/sublimelsp/LSP/issues/2521
Fixed by https://github.com/sublimelsp/LSP-clangd/pull/46