mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -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) {
|
if(AssistDiagnostics) {
|
||||||
menu.Separator();
|
menu.MenuSeparator();
|
||||||
menu.Add("Dump and show whole current index", [=] {
|
menu.Add("Dump and show whole current index", [=] {
|
||||||
String path = CacheFile("index_" + AsString(Random()) + AsString(Random()));
|
String path = CacheFile("index_" + AsString(Random()) + AsString(Random()));
|
||||||
DumpIndex(path);
|
DumpIndex(path);
|
||||||
|
|
@ -949,6 +949,9 @@ void Ide::BrowseMenu(Bar& menu)
|
||||||
Upp::SaveFile(p, editor.CurrentContext().content);
|
Upp::SaveFile(p, editor.CurrentContext().content);
|
||||||
EditFile(p);
|
EditFile(p);
|
||||||
});
|
});
|
||||||
|
menu.Add("Current include path", [=] {
|
||||||
|
PromptOK("\1" + Join(Split(GetCurrentIncludePath(),';'), "\n"));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue