forked from qt-creator/qt-creator
Clangd: do not modify the default replacement string
Fixes: QTCREATORBUG-28321 Fixes: QTCREATORBUG-28910 Change-Id: I4cfaf5ea3916a0ecbf0b0bae4d0c231513671c73 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -370,8 +370,6 @@ ClangdClient::ClangdClient(Project *project, const Utils::FilePath &jsonDbDir, c
|
||||
setActivateDocumentAutomatically(true);
|
||||
setCompletionAssistProvider(new ClangdCompletionAssistProvider(this));
|
||||
setQuickFixAssistProvider(new ClangdQuickFixProvider(this));
|
||||
symbolSupport().setDefaultRenamingSymbolMapper(
|
||||
[](const QString &oldSymbol) { return oldSymbol + "_new"; });
|
||||
symbolSupport().setLimitRenamingToProjects(true);
|
||||
if (!project) {
|
||||
QJsonObject initOptions;
|
||||
|
||||
Reference in New Issue
Block a user