From faebf887e1523e6094fa2ceaabcf389b2278758a Mon Sep 17 00:00:00 2001 From: Mirek Fidler Date: Tue, 4 Aug 2026 16:27:01 +0200 Subject: [PATCH] ide: now also adding includes of current build method for libclang --- uppsrc/ide/Methods.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/uppsrc/ide/Methods.cpp b/uppsrc/ide/Methods.cpp index 74d2f47b8..e874eb751 100644 --- a/uppsrc/ide/Methods.cpp +++ b/uppsrc/ide/Methods.cpp @@ -976,7 +976,11 @@ String Ide::GetCurrentIncludePath() if(IsExternalMode()) // just add everything.. MergeWith(include_path, ";", PackageDirectory(wspc[i])); } - + + // add all include paths of real current build method (because there can be additional + // includes..) + MergeWith(include_path, ";", GetIncludePath()); + return include_path; }