C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
3.73k
stars
254
forks
source link
Semantic highlighting: Constructors Treated As Normal Functions Inside Class Body #916
Open
anthony-S93 opened 1 year ago
Observed behavior
The language server's semantic tokenization won't assign the
@constructor
token to constructors unless they are outside the class' body.Expected behavior
Correct semantic tokenization of C++ constructors.
Steps to reproduce
TSHighlightCapturesUnderCursor
tool to check the syntax highlight groups assigned to the token.System information
git describe --tags --long
): 0.20220729-1