You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SymbolKind of static member variable is SymbolKind::Variable and not SymbolKind::Field.
I don't know if it is expected.
The point is that It is then difficult to know on the client if we have a member or not.
I thought about checking if the parentKind was a SymbolKind::Class, but then I saw this information was not forwarded to the client, and received a SymbolKind::Unknown(0). (see MaskRay/vscode-ccls#90)
Expected behavior
Either mark static member variable kind as SymbolKind::Field
or forward the parentKind information (I have tested it if you want to see and tell me if this could work or if there is another cleaner way to do this: FederAndInk@b6491f5)
System information
ccls version (git describe --tags --long):
ccls version 0.20190823.5-18-g5a08ff99
clang version 9.0.1
Observed behavior
The
SymbolKind
of static member variable isSymbolKind::Variable
and notSymbolKind::Field
.I don't know if it is expected.
The point is that It is then difficult to know on the client if we have a member or not.
I thought about checking if the
parentKind
was aSymbolKind::Class
, but then I saw this information was not forwarded to the client, and received aSymbolKind::Unknown
(0). (see MaskRay/vscode-ccls#90)Expected behavior
Either mark static member variable kind as
SymbolKind::Field
or forward the
parentKind
information (I have tested it if you want to see and tell me if this could work or if there is another cleaner way to do this: FederAndInk@b6491f5)System information
git describe --tags --long
):master -> MaskRay/vscode-ccls@c144a58
The text was updated successfully, but these errors were encountered: