зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1665499 - Document clangd's 'switch header/source' command. r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D90482
This commit is contained in:
Родитель
3f7161b817
Коммит
80d302db4e
|
@ -49,6 +49,19 @@ Leveraging the `clang` toolchain compiler we now have support in the IDE for the
|
|||
|
||||
**9.** Basic static-code analysis using `clang-tidy` and our list of enabled checkers. (This is still in progress not all checkers are supported by `clangd`)
|
||||
|
||||
Clangd-specific Commands
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Clangd supports some commands that are specific to C/C++:
|
||||
|
||||
.. code::
|
||||
|
||||
"clangd.switchheadersource"
|
||||
|
||||
This command navigates from the currently open header file to its corresponding source file (if there is one), or vice versa.
|
||||
|
||||
This command can be invoked from the command menu (activated via ``F1``), or using its keybinding of ``Alt+o`` (``Alt+cmd+o`` on Mac). The keybinding can also be customized in ``Keyboard Shortcuts``.
|
||||
|
||||
Generating Configuration
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче