diff options
author | Christian Kandeler <[email protected]> | 2021-06-09 09:47:26 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2021-07-05 07:39:06 +0000 |
commit | 68846a7729fb7fa67214ffa6484d2b2e08caf6f8 (patch) | |
tree | c72792961561dee9a4eb48450b059281af367760 /src/plugins/clangcodemodel/clangcodemodelplugin.cpp | |
parent | db053c49ada00ad1414d882e61060b13e10a18c1 (diff) |
ClangCodeModel: Provide highlighting via clangd
Note that we lose the highlighting for virtual function calls. We need
to amend clangd to add the respective information to its semantic tokens
message.
Also, Qt properties are no longer highlighted as class members. We'll
investigate how to best restore this feature.
Change-Id: I403712aada3d7a8e1c7b7c1277f43f7f64f8450b
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/clangcodemodel/clangcodemodelplugin.cpp')
-rw-r--r-- | src/plugins/clangcodemodel/clangcodemodelplugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clangcodemodelplugin.cpp b/src/plugins/clangcodemodel/clangcodemodelplugin.cpp index 59bcc4d1914..bc92b1bbab7 100644 --- a/src/plugins/clangcodemodel/clangcodemodelplugin.cpp +++ b/src/plugins/clangcodemodel/clangcodemodelplugin.cpp @@ -207,6 +207,7 @@ QVector<QObject *> ClangCodeModelPlugin::createTestObjects() const new Tests::ClangCodeCompletionTest, new Tests::ClangdTestFindReferences, new Tests::ClangdTestFollowSymbol, + new Tests::ClangdTestHighlighting, new Tests::ClangdTestLocalReferences, new Tests::ClangdTestTooltips, }; |