Skip to content

Commit

Permalink
Update clangd_cdt_support.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kolipakakondal authored Jun 6, 2024
1 parent a3a9bc1 commit 87a02b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/clangd_cdt_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ You can find more details on the LSP based C/C++ Editor features [here](https://

## Clangd Configuration

By default, the esp-clang toolchain is installed as a part of the ESP-IDF tools installation process, and clangd is configured in the preferences.
By default, the esp-clang toolchain is installed as a part of the ESP-IDF tools installation process, and clangd **Path** is configured in the preferences.

Additionally, the user has to set the query **Drivers** path and **--compile-commands-dir** path in the **Additional** argument section.
The **Drivers** path and **--compile-commands-dir** path will be configured based on the selected target(esp32, esp32c6 etc) and project you're building.

However, if there are any issues in configuration, this can be configured in the following way.

Please follow the below steps to configure them:

1. Go to `Window` > `Preferences` > `C/C++` > `Editor(LSP)`
2. Navigate to `clangd` node
Expand Down

0 comments on commit 87a02b4

Please sign in to comment.