From b443e3578bec7435917d59256d2960daee7e8db8 Mon Sep 17 00:00:00 2001 From: Denys Almazov Date: Thu, 20 Nov 2025 14:46:26 +0200 Subject: [PATCH] fix: applying clangd preferences --- .../src/com/espressif/idf/core/tools/SetupToolsInIde.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/SetupToolsInIde.java b/bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/SetupToolsInIde.java index a4b603a7d..4290218ff 100644 --- a/bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/SetupToolsInIde.java +++ b/bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/SetupToolsInIde.java @@ -43,6 +43,7 @@ import com.espressif.idf.core.tools.vo.EimJson; import com.espressif.idf.core.tools.vo.IdfInstalled; import com.espressif.idf.core.util.IDFUtil; +import com.espressif.idf.core.util.LspService; import com.espressif.idf.core.util.StringUtil; /** @@ -150,6 +151,11 @@ private IStatus setupTools(IProgressMonitor monitor) copyOpenOcdRules(); monitor.worked(1); + monitor.setTaskName("Applying Clangd Preferences"); //$NON-NLS-1$ + log("Applying Clangd Preferences", IStatus.INFO); //$NON-NLS-1$ + var lspService = new LspService(); + lspService.updateClangdPath(); + lspService.updateQueryDriver(); log("Tools Setup complete", IStatus.INFO); //$NON-NLS-1$ return Status.OK_STATUS;