# Clangd

> **TL;DR**
> `File | Settings | Languages & Frameworks | C/C++ | Clangd` for Windows and Linux
>
>
>
> `CLion | Settings | Languages & Frameworks | C/C++ | Clangd` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.settings.svg)

In this dialog, you can configure particular settings and check the LLVM Clang revision used by Clangd.

![Clangd settings](https://resources.jetbrains.com/help/img/idea/2026.2/cl_clangd_settings.png)

| Item | Description |
| --- | --- |
| Show errors and warnings from clangd |    Select this checkbox to turn on the Clangd warnings and errors, which will be shown in the editor instead of the CLion's code errors.     Use the field below the checkbox to specify the list of warnings from Clangd that you want to enable. The default set of warnings includes:       ```CONSOLE -Wno-unused-variable -Wno-shadow -Wshadow-field-in-constructor-modified -Wshadow-ivar -Wno-implicit-function-declaration -Wno-switch -Wno-parentheses -Wbitwise-op-parentheses -Wdangling-else -Wlogical-not-parentheses -Wlogical-op-parentheses -Woverloaded-shift-op-parentheses -Wparentheses-equality -Wshift-op-parentheses ```    |
| Use clang-tidy via clangd | Select this checkbox to have [clang-tidy](clang-tidy-checks-support.html) working via Clangd. Enabling this option also turns on the following CLion inspections:       * [Argument selection defects](argument-selection-defects-inspection.html)    * Empty declaration or statement    * Preprocessor directive comment    * Simplifiable statement    * [Unconstrained variable type](c-20-concepts.html#inspections)    * Virtual call from a constructor or destructor                           > **Tip:** > Refer to [List of C/C++ inspections](list-of-c-cpp-inspections.html) for more information.                     |

