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:
@@ -128,6 +128,7 @@ public:
|
||||
|
||||
void setLocatorsEnabled(bool enabled) { m_locatorsEnabled = enabled; }
|
||||
bool locatorsEnabled() const { return m_locatorsEnabled; }
|
||||
void setAutoRequestCodeActions(bool enabled) { m_autoRequestCodeActions = enabled; }
|
||||
|
||||
// document synchronization
|
||||
void setSupportedLanguage(const LanguageFilter &filter);
|
||||
@@ -281,6 +282,7 @@ private:
|
||||
QString m_serverVersion;
|
||||
LanguageServerProtocol::SymbolStringifier m_symbolStringifier;
|
||||
bool m_locatorsEnabled = true;
|
||||
bool m_autoRequestCodeActions = true;
|
||||
};
|
||||
|
||||
} // namespace LanguageClient
|
||||
|
||||
Reference in New Issue
Block a user