From b127088992402f48d407b0e6352336c27096e31f Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Thu, 25 Jun 2020 11:56:53 +0200 Subject: Doc: Describe new language server features Change-Id: Id5d241777bd79196638596a582c685df4f335edf Reviewed-by: Friedemann Kleint Reviewed-by: David Schulz --- doc/qtcreator/src/editors/creator-code-refactoring.qdoc | 7 ++++--- .../src/editors/creator-only/creator-language-server.qdoc | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/qtcreator/src/editors/creator-code-refactoring.qdoc b/doc/qtcreator/src/editors/creator-code-refactoring.qdoc index 8e94c1622e..5e45b163b2 100644 --- a/doc/qtcreator/src/editors/creator-code-refactoring.qdoc +++ b/doc/qtcreator/src/editors/creator-code-refactoring.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -115,9 +115,10 @@ When you rename a class, you can also change filenames that match the class name. - To rename a specific symbol in a Qt project, place the cursor - on it and select \uicontrol Tools > \uicontrol {C++} > + To rename a C++ symbol in a project, place the cursor + on it and select \uicontrol Tools > \uicontrol {C++} > \uicontrol {Rename Symbol Under Cursor} or press \key {Ctrl+Shift+R}. + Use the keyboard shortcut to rename Python symbols. \endif To rename a QML type in a project, select \uicontrol Tools > diff --git a/doc/qtcreator/src/editors/creator-only/creator-language-server.qdoc b/doc/qtcreator/src/editors/creator-only/creator-language-server.qdoc index ea8ecdc472..3faa85d43a 100644 --- a/doc/qtcreator/src/editors/creator-only/creator-language-server.qdoc +++ b/doc/qtcreator/src/editors/creator-only/creator-language-server.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -54,8 +54,10 @@ in the \uicontrol Symbols list on the \l{Using the Editor Toolbar} {editor toolbar} \li \l{Finding Symbols}{Finding references to symbols} + \li \l{Renaming Symbols}{Renaming the symbol under cursor} \li Code actions - \li Integrating diagnostics from the language server + \li Displaying diagnostics from the language server as tooltips. You can + also select a code range to display diagnostics for. \endlist By providing a client for the language server protocol, \QC can support -- cgit v1.2.3