LSP-clangd icon indicating copy to clipboard operation
LSP-clangd copied to clipboard

Auto complete feature is not so accurate for struct variables

Open oneWayOut opened this issue 1 year ago • 1 comments

  1. There are some extra unwanted completions (which are snippets) for a struct variable as the image below: Bug1

  2. 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. Bug2

oneWayOut avatar Sep 12 '24 15:09 oneWayOut

This issue is duplicated with https://github.com/sublimelsp/LSP/issues/2521

oneWayOut avatar Sep 24 '24 23:09 oneWayOut

Fixed by https://github.com/sublimelsp/LSP-clangd/pull/46

rchl avatar Dec 04 '25 22:12 rchl