8335911: Document ccls indexer in doc/ide.md

Reviewed-by: erikj
This commit is contained in:
Volker Simonis 2024-07-09 13:11:07 +00:00
parent 0e0dfca21f
commit 531a6d85b0
2 changed files with 8 additions and 6 deletions

View File

@ -63,11 +63,12 @@ workspace has been generated. To use it, choose
<p>The main <code>vscode-project</code> target configures the default <p>The main <code>vscode-project</code> target configures the default
C++ support in Visual Studio Code. There are also other source indexers C++ support in Visual Studio Code. There are also other source indexers
that can be installed, that may provide additional features. It's that can be installed, that may provide additional features. It's
currently possible to generate configuration for two such indexers, <a currently possible to generate configuration for three such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a href="https://clang.llvm.org/extra/clangd/">clangd</a>, <a
href="https://github.com/Andersbakken/rtags">rtags</a>. These can be href="https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code">ccls</a>
configured by appending the name of the indexer to the make target, such and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can
as:</p> be configured by appending the name of the indexer to the make target,
such as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre> <pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be <p>Additional instructions for configuring the given indexer will be
displayed after the workspace has been generated.</p> displayed after the workspace has been generated.</p>

View File

@ -32,7 +32,8 @@ choose `File -> Open Workspace...` in Visual Studio Code.
The main `vscode-project` target configures the default C++ support in Visual The main `vscode-project` target configures the default C++ support in Visual
Studio Code. There are also other source indexers that can be installed, that Studio Code. There are also other source indexers that can be installed, that
may provide additional features. It's currently possible to generate may provide additional features. It's currently possible to generate
configuration for two such indexers, [clangd](https://clang.llvm.org/extra/clangd/) configuration for three such indexers, [clangd](https://clang.llvm.org/extra/clangd/),
[ccls](https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code)
and [rtags](https://github.com/Andersbakken/rtags). These can be configured by and [rtags](https://github.com/Andersbakken/rtags). These can be configured by
appending the name of the indexer to the make target, such as: appending the name of the indexer to the make target, such as: