[PATCH] D41306: [clangd] Update documentation page with new features, instructions
Marc-Andre Laperle via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 18 06:59:53 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL320988: [clangd] Update documentation page with new features, instructions (authored by malaperle, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D41306
Files:
clang-tools-extra/trunk/docs/clangd.rst
Index: clang-tools-extra/trunk/docs/clangd.rst
===================================================================
--- clang-tools-extra/trunk/docs/clangd.rst
+++ clang-tools-extra/trunk/docs/clangd.rst
@@ -23,8 +23,20 @@
used in order to test :program:`Clangd` but more clients are likely to make
use of :program:`Clangd` in the future as it matures and becomes a production
quality tool. If you are interested in trying :program:`Clangd` in combination
-with Visual Studio Code, you can start by `building Clangd`_, then open Visual
-Studio Code in the clangd-vscode folder and launch the extension.
+with Visual Studio Code, you can start by `installing Clangd`_ or
+`building Clangd`_, then open Visual Studio Code in the clangd-vscode folder and
+launch the extension.
+
+Installing Clangd
+==================
+
+Packages are available for debian-based distributions, see the `LLVM packages
+page <http://apt.llvm.org/>`_. :program:`Clangd` is included in the
+`clang-tools` package.
+However, it is a good idea to check your distribution's packaging system first
+as it might already be available.
+
+Otherwise, you can install :program:`Clangd` by `building Clangd`_ first.
Building Clangd
==================
@@ -41,7 +53,8 @@
not they are already implemented in :program:`Clangd` and specified in the
Language Server Protocol. Note that for some of the features, it is not clear
whether or not they should be part of the Language Server Protocol, so those
-features might be eventually developed outside :program:`Clangd`.
+features might be eventually developed outside :program:`Clangd` or as an
+extension to the protocol.
+-------------------------------------+------------+----------+
| C/C++ Editor feature | LSP | Clangd |
@@ -56,18 +69,22 @@
+-------------------------------------+------------+----------+
| Go to Definition | Yes | Yes |
+-------------------------------------+------------+----------+
-| Source hover | Yes | No |
+| Signature Help | Yes | Yes |
+-------------------------------------+------------+----------+
-| Signature Help | Yes | No |
+| Document Highlights | Yes | Yes |
+-------------------------------------+------------+----------+
-| Find References | Yes | No |
+| Rename | Yes | Yes |
+-------------------------------------+------------+----------+
-| Document Highlights | Yes | No |
+| Source hover | Yes | No |
+-------------------------------------+------------+----------+
-| Rename | Yes | No |
+| Find References | Yes | No |
+-------------------------------------+------------+----------+
| Code Lens | Yes | No |
+-------------------------------------+------------+----------+
+| Document Symbols | Yes | No |
++-------------------------------------+------------+----------+
+| Workspace Symbols | Yes | No |
++-------------------------------------+------------+----------+
| Syntax and Semantic Coloring | No | No |
+-------------------------------------+------------+----------+
| Code folding | No | No |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41306.127354.patch
Type: text/x-patch
Size: 3551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171218/12b96f44/attachment-0001.bin>
More information about the cfe-commits
mailing list