ecode: Added command palette.

This commit is contained in:
Martín Lucas Golini
2023-02-08 02:37:37 -03:00
parent 7bccac1c06
commit a6ea966348
16 changed files with 409 additions and 39 deletions

View File

@@ -1189,6 +1189,10 @@ UIPopUpMenu* SettingsMenu::createToolsMenu() {
mToolsMenu
->add( i18n( "locate", "Locate..." ), findIcon( "search" ), getKeybind( "open-locatebar" ) )
->setId( "open-locatebar" );
mToolsMenu
->add( i18n( "command_palette", "Command Palette..." ), findIcon( "search" ),
getKeybind( "open-command-palette" ) )
->setId( "open-command-palette" );
mToolsMenu
->add( i18n( "project_find", "Project Find..." ), findIcon( "search" ),
getKeybind( "open-global-search" ) )
@@ -1447,7 +1451,7 @@ void SettingsMenu::createProjectTreeMenu() {
showProjectTreeMenu();
}
static void fsRemoveAll(const std::string& fpath) {
static void fsRemoveAll( const std::string& fpath ) {
#if EE_PLATFORM == EE_PLATFORM_WIN
fs::remove_all( std::filesystem::path( String( fpath ).toWideString() ) );
#else