Skip to content

Commit

Permalink
[clangd] Update features table in the docs with links to LSP extensio…
Browse files Browse the repository at this point in the history
…n proposals

Also update the semantic coloring entry to reflect it being supported in
clangd now.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D65373

llvm-svn: 369229
  • Loading branch information
HighCommander4 committed Aug 19, 2019
1 parent e47437a commit dfe5f3e
Showing 1 changed file with 55 additions and 51 deletions.
106 changes: 55 additions & 51 deletions clang-tools-extra/docs/clangd/Features.rst
Original file line number Diff line number Diff line change
@@ -214,54 +214,58 @@ It is not clear whether or not some of the features mentioned below should be a
part of the Language Server Protocol; those features might be eventually
developed outside clangd or become clangd extensions to LSP.

+-------------------------------------+------------+----------+
| C/C++ Editor feature | LSP | Clangd |
+=====================================+============+==========+
| Formatting | Yes | Yes |
+-------------------------------------+------------+----------+
| Completion | Yes | Yes |
+-------------------------------------+------------+----------+
| Diagnostics | Yes | Yes |
+-------------------------------------+------------+----------+
| Fix-its | Yes | Yes |
+-------------------------------------+------------+----------+
| Go to Definition | Yes | Yes |
+-------------------------------------+------------+----------+
| Signature Help | Yes | Yes |
+-------------------------------------+------------+----------+
| Document Highlights | Yes | Yes |
+-------------------------------------+------------+----------+
| Rename | Yes | Yes |
+-------------------------------------+------------+----------+
| Source hover | Yes | Yes |
+-------------------------------------+------------+----------+
| Find References | Yes | Yes |
+-------------------------------------+------------+----------+
| Document Symbols | Yes | Yes |
+-------------------------------------+------------+----------+
| Workspace Symbols | Yes | Yes |
+-------------------------------------+------------+----------+
| Code Lens | Yes | No |
+-------------------------------------+------------+----------+
| Code folding | Yes | No |
+-------------------------------------+------------+----------+
| Extract Local Variable | Yes | No |
+-------------------------------------+------------+----------+
| Extract Function/Method | Yes | No |
+-------------------------------------+------------+----------+
| Quick Assist | Yes | No |
+-------------------------------------+------------+----------+
| Hide Method | Yes | No |
+-------------------------------------+------------+----------+
| Implement Method | Yes | No |
+-------------------------------------+------------+----------+
| Gen. Getters/Setters | Yes | No |
+-------------------------------------+------------+----------+
| Syntax and Semantic Coloring | No | No |
+-------------------------------------+------------+----------+
| Call hierarchy | No | No |
+-------------------------------------+------------+----------+
| Type hierarchy | No | Yes |
+-------------------------------------+------------+----------+
| Organize Includes | No | No |
+-------------------------------------+------------+----------+
+-------------------------------------+-------------+----------+
| C/C++ Editor feature | LSP | Clangd |
+=====================================+=============+==========+
| Formatting | Yes | Yes |
+-------------------------------------+-------------+----------+
| Completion | Yes | Yes |
+-------------------------------------+-------------+----------+
| Diagnostics | Yes | Yes |
+-------------------------------------+-------------+----------+
| Fix-its | Yes | Yes |
+-------------------------------------+-------------+----------+
| Go to Definition | Yes | Yes |
+-------------------------------------+-------------+----------+
| Signature Help | Yes | Yes |
+-------------------------------------+-------------+----------+
| Document Highlights | Yes | Yes |
+-------------------------------------+-------------+----------+
| Rename | Yes | Yes |
+-------------------------------------+-------------+----------+
| Source hover | Yes | Yes |
+-------------------------------------+-------------+----------+
| Find References | Yes | Yes |
+-------------------------------------+-------------+----------+
| Document Symbols | Yes | Yes |
+-------------------------------------+-------------+----------+
| Workspace Symbols | Yes | Yes |
+-------------------------------------+-------------+----------+
| Code Lens | Yes | No |
+-------------------------------------+-------------+----------+
| Code folding | Yes | No |
+-------------------------------------+-------------+----------+
| Extract Local Variable | Yes | No |
+-------------------------------------+-------------+----------+
| Extract Function/Method | Yes | No |
+-------------------------------------+-------------+----------+
| Quick Assist | Yes | No |
+-------------------------------------+-------------+----------+
| Hide Method | Yes | No |
+-------------------------------------+-------------+----------+
| Implement Method | Yes | No |
+-------------------------------------+-------------+----------+
| Gen. Getters/Setters | Yes | No |
+-------------------------------------+-------------+----------+
| Syntax and Semantic Coloring |Proposed [1]_| Yes |
+-------------------------------------+-------------+----------+
| Call hierarchy |Proposed [2]_| No |
+-------------------------------------+-------------+----------+
| Type hierarchy |Proposed [3]_| Yes |
+-------------------------------------+-------------+----------+
| Organize Includes | Yes | No |
+-------------------------------------+-------------+----------+

.. [1] https://github.com/microsoft/language-server-protocol/issues/18
.. [2] https://github.com/microsoft/language-server-protocol/issues/468
.. [3] https://github.com/microsoft/language-server-protocol/issues/136

0 comments on commit dfe5f3e

Please sign in to comment.