From dfe5f3eb0a0055244d019ede9214e7df8b7a9cca Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Mon, 19 Aug 2019 05:11:15 +0000 Subject: [PATCH] [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 --- clang-tools-extra/docs/clangd/Features.rst | 106 +++++++++++++++-------------- 1 file changed, 55 insertions(+), 51 deletions(-) diff --git a/clang-tools-extra/docs/clangd/Features.rst b/clang-tools-extra/docs/clangd/Features.rst index 87b6713..12522cb 100644 --- a/clang-tools-extra/docs/clangd/Features.rst +++ b/clang-tools-extra/docs/clangd/Features.rst @@ -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 -- 2.7.4