[PATCH] D87686: [clang-tidy] Improve documentation on Clangd integration
Kirill Bobyrev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 15 04:51:01 PDT 2020
kbobyrev created this revision.
kbobyrev added a reviewer: hokein.
Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, xazax.hun.
Herald added a project: clang.
kbobyrev requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
The integration is already complete; this patch updates information as well as
suggests using Clang-Tidy via Clangd integration that is vastly available
in most editors through LSP client plugins.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87686
Files:
clang-tools-extra/docs/clang-tidy/Integrations.rst
Index: clang-tools-extra/docs/clang-tidy/Integrations.rst
===================================================================
--- clang-tools-extra/docs/clang-tidy/Integrations.rst
+++ clang-tools-extra/docs/clang-tidy/Integrations.rst
@@ -3,23 +3,28 @@
==================================
.. _Clangd: https://clang.llvm.org/extra/clangd.html
+.. _is available: https://clangd.llvm.org/installation.html#editor-plugins
+.. _more: https://langserver.org/#implementations-client
Apart from being a standalone tool, :program:`clang-tidy` is integrated into
-various IDEs, code analyzers, and editors. Besides, it is currently being
-integrated into Clangd_. The following table shows the most
-well-known :program:`clang-tidy` integrations in detail.
+various IDEs, code analyzers, and editors. We recommend using Clangd_ which
+integrates :program:`clang-tidy` and `is available`_ in most major editors
+through plugins (Vim, Emacs, Visual Studio Code, Sublime Text and more_).
+
+The following table shows the most well-known :program:`clang-tidy`
+integrations in detail.
+--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
| | Feature |
+======================================+========================+=================================+==========================+=========================================+==========================+
| **Tool** | On-the-fly inspection | Check list configuration (GUI) | Options to checks (GUI) | Configuration via ``.clang-tidy`` files | Custom clang-tidy binary |
+--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
+|Clangd | \+\ | \-\ | \-\ | \-\ | \-\ |
++--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
|A.L.E. for Vim | \+\ | \-\ | \-\ | \-\ | \+\ |
+--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
|Clang Power Tools for Visual Studio | \-\ | \+\ | \-\ | \+\ | \-\ |
+--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
-|Clangd | \+\ | \-\ | \-\ | \-\ | \-\ |
-+--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
|CLion IDE | \+\ | \+\ | \+\ | \+\ | \+\ |
+--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
|CodeChecker | \-\ | \-\ | \-\ | \-\ | \+\ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87686.291866.patch
Type: text/x-patch
Size: 4232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200915/779bdfc3/attachment-0001.bin>
More information about the cfe-commits
mailing list