diff --git a/uppsrc/ide/idebar.cpp b/uppsrc/ide/idebar.cpp index d9d86da11..ec395f2d5 100644 --- a/uppsrc/ide/idebar.cpp +++ b/uppsrc/ide/idebar.cpp @@ -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")); + }); } }