ide: Assist diagnostics - show current include path

This commit is contained in:
Mirek Fidler 2025-04-18 19:35:07 +02:00
parent 519039e47d
commit 56a3ca1652

View file

@ -931,7 +931,7 @@ void Ide::BrowseMenu(Bar& menu)
}
if(AssistDiagnostics) {
menu.Separator();
menu.MenuSeparator();
menu.Add("Dump and show whole current index", [=] {
String path = CacheFile("index_" + AsString(Random()) + AsString(Random()));
DumpIndex(path);
@ -949,6 +949,9 @@ void Ide::BrowseMenu(Bar& menu)
Upp::SaveFile(p, editor.CurrentContext().content);
EditFile(p);
});
menu.Add("Current include path", [=] {
PromptOK("\1" + Join(Split(GetCurrentIncludePath(),';'), "\n"));
});
}
}