[docs] Provide pointers to known editor plugins and extensions

Many editors provide extensions and plugins with LSP Client
functionality. Many of these are known to work with Clangd, this patch
points users to the relevant resources for better experience.

Reviewed By: ioeric, ilya-biryukov

Differential Revision

llvm-svn: 342129
This commit is contained in:
Kirill Bobyrev 2018-09-13 11:40:12 +00:00
parent 5b65e41a8f
commit 778e0d24ee
1 changed files with 35 additions and 0 deletions

View File

@ -108,6 +108,41 @@ extension to the protocol.
| Gen. Getters/Setters | No | No |
+-------------------------------------+------------+----------+
Editor Integration
==================
Any full-featured Language Server Protocol Client implementation should work
with :program:`Clangd`. This `list
<https://langserver.org/#implementations-client>` contains information about
extensions and plugins that are known to work for different editors.
Vim Integration
---------------
LanguageClient-neovim
~~~~~~~~~~~~~~~~~~~~~
One of the options of using :program:`Clangd` in :program:`vim` (or
:program:`nvim`) is to utilize `LanguageClient-neovim
<https://github.com/autozimu/LanguageClient-neovim>`_ plugin. Please see the
`Clangd Wiki page
<https://github.com/autozimu/LanguageClient-neovim/wiki/Clangd>`_ for
instructions.
VSCode Integration
------------------
:program:`VSCode` provides `vscode-clangd
<https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd>`
which is published in Visual Studio Marketplace and can be installed direcetly
from :program:`VSCode`.
Emacs Integration
-----------------
:program:`Emacs` provides `lsp-mode <github.com/emacs-lsp/lsp-mode>` and
`Eglot <https://github.com/joaotavora/eglot>` plugins for LSP integration.
Getting Involved
==================