forked from qt-creator/qt-creator
ClangD: skip automatic code action request
.. after receiving diagnostics since the code actions are already inlined into the diagnostics. Change-Id: I11ed1270344ff5119dd111503d173eef2f340c1d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -755,6 +755,7 @@ ClangdClient::ClangdClient(Project *project, const Utils::FilePath &jsonDbDir)
|
||||
caps.clearExperimental();
|
||||
setClientCapabilities(caps);
|
||||
setLocatorsEnabled(false);
|
||||
setAutoRequestCodeActions(false); // clangd sends code actions inside diagnostics
|
||||
setProgressTitleForToken(indexingToken(), tr("Parsing C/C++ Files (clangd)"));
|
||||
setCurrentProject(project);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user