forked from qt-creator/qt-creator
Doc: Describe new language server features
Change-Id: Id5d241777bd79196638596a582c685df4f335edf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -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 >
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user