[clangd] Update features table in the docs with links to LSP extension 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
This commit is contained in:
Nathan Ridge 2019-08-19 05:11:15 +00:00
parent e47437a6ef
commit dfe5f3eb0a
1 changed files with 55 additions and 51 deletions

View File

@ -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