Skip to content

Commit

Permalink
docs: 优化对 clangd 的解释
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims authored Oct 16, 2024
1 parent 446dad0 commit e40c0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appendix/explain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
.clangd
========================================================================================================================

clangd 的配置文件, 为程序员提供内联提示、语法高亮等辅助功能.
clangd 的配置文件. clangd 让 VSCode 能够解析 C++ 代码, 并为程序员提供内联提示、语法高亮等辅助功能. 实际上, CLion、Qt Creator 等软件也是使用的 clangd.

clangd 为 VSCode 提供了 clang-tidy 支持, 将会在编写代码时实时调用 clang-tidy 进行静态检查. (但不支持某些 clang-tidy 功能如自动添加, 如果需要, 请通过 :ref:`Clang-Tidy: fix current file <tasks_json>` 对当前源文件使用 clang-tidy.)

Expand Down Expand Up @@ -168,4 +168,4 @@ launch.json
对 CMake 的配置即 ``CMakeLists.txt`` 进行调试.

:menuselection:`CMake: clean and debug configuration`
清理之前的 CMake 配置缓存, 并对 CMake 的配置即 ``CMakeLists.txt`` 进行调试.
清理之前的 CMake 配置缓存, 并对 CMake 的配置即 ``CMakeLists.txt`` 进行调试.

0 comments on commit e40c0d9

Please sign in to comment.