mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
ide: Assist diagnostics - show current include path
This commit is contained in:
parent
519039e47d
commit
56a3ca1652
1 changed files with 4 additions and 1 deletions
|
|
@ -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"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue