Added Sys::execute and Sys::getProcessFilePath (not tested on macOS, could be broken).
ecode:
Optimized document search (now is async).
Improved auto-reload of plugins, should solve some issues.
Added "New Window" option on Settings Menu.
This commit is contained in:
Martín Lucas Golini
2023-10-28 01:09:00 -03:00
parent 7d2fbc4678
commit b7bdfd33ba
16 changed files with 313 additions and 150 deletions

View File

@@ -552,6 +552,7 @@ void App::onReady() {
// Plugin reload is only available right after we render the first frame and the editor is ready
// to run.
mPluginManager->setPluginReloadEnabled( true );
Log::info( "App Ready" );
}
void App::mainLoop() {
@@ -1875,6 +1876,7 @@ std::map<KeyBindings::Shortcut, std::string> App::getLocalKeybindings() {
"open-workspace-symbol-search" },
{ { KEY_P, KeyMod::getDefaultModifier() | KEYMOD_SHIFT },
"open-document-symbol-search" },
{ { KEY_N, KEYMOD_SHIFT | KEYMOD_LALT }, "create-new-window" },
};
}
@@ -1950,7 +1952,8 @@ std::vector<std::string> App::getUnlockedCommands() {
"open-workspace-symbol-search",
"open-document-symbol-search",
"show-folder-treeview-tab",
"show-build-tab" };
"show-build-tab",
"create-new-window" };
}
bool App::isUnlockedCommand( const std::string& command ) {