BigBahss / vscode-cmantic

C/C++ code generation for VS Code: Generate Definitions, Getters, Setters, and much more.
https://bigbahss.github.io/vscode-cmantic/
MIT License
82 stars 9 forks source link

'Add Definition' on a constructor not working for ccls #31

Open BigBahss opened 3 years ago

BigBahss commented 3 years ago

I was testing on ccls and I noticed that Add Definition isn't working for constructors. The reason is that when invoking Go to Definition on an undefined constructor, ccls goes to the name of the class itself. I'm thinking this must be a regression in ccls, because I'm 99% sure I've tested this before and it was working.