diff --git a/src/dlangide/ui/commands.d b/src/dlangide/ui/commands.d index 9a92f09..f3c1d40 100644 --- a/src/dlangide/ui/commands.d +++ b/src/dlangide/ui/commands.d @@ -17,6 +17,7 @@ enum IDEActions : int { FileClose, FileExit, EditPreferences, + BuildConfigurations, BuildWorkspace, RebuildWorkspace, CleanWorkspace, @@ -59,6 +60,7 @@ const Action ACTION_FILE_EXIT = new Action(IDEActions.FileExit, "MENU_FILE_EXIT" const Action ACTION_WORKSPACE_BUILD = new Action(IDEActions.BuildWorkspace, "MENU_BUILD_WORKSPACE_BUILD"c); const Action ACTION_WORKSPACE_REBUILD = new Action(IDEActions.RebuildWorkspace, "MENU_BUILD_WORKSPACE_REBUILD"c); const Action ACTION_WORKSPACE_CLEAN = new Action(IDEActions.CleanWorkspace, "MENU_BUILD_WORKSPACE_CLEAN"c); +const Action ACTION_BUILD_CONFIGURATIONS = new Action(IDEActions.BuildConfigurations, "MENU_BUILD_CONFIGURATIONS"c); const Action ACTION_PROJECT_BUILD = new Action(IDEActions.BuildProject, "MENU_BUILD_PROJECT_BUILD"c, "run-build", KeyCode.F7, 0); const Action ACTION_PROJECT_REBUILD = new Action(IDEActions.RebuildProject, "MENU_BUILD_PROJECT_REBUILD"c, "run-build-clean", KeyCode.F7, KeyFlag.Control); const Action ACTION_PROJECT_CLEAN = new Action(IDEActions.CleanProject, "MENU_BUILD_PROJECT_CLEAN"c, null); diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index 93be601..e94e9ee 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -374,7 +374,7 @@ class IDEFrame : AppFrame { } return true; }; - cbBuildConfiguration.action = ACTION_PROJECT_BUILD; + cbBuildConfiguration.action = ACTION_BUILD_CONFIGURATIONS; tb.addControl(cbBuildConfiguration); tb.addButtons(ACTION_PROJECT_BUILD); diff --git a/views/res/i18n/en.ini b/views/res/i18n/en.ini index 91529fd..a069f2f 100644 --- a/views/res/i18n/en.ini +++ b/views/res/i18n/en.ini @@ -23,6 +23,7 @@ MENU_EDIT_TOGGLE_LINE_COMMENT=Toggle line comment MENU_EDIT_TOGGLE_BLOCK_COMMENT=Toggle block comment MENU_EDIT_ADVANCED=Advanced... MENU_EDIT_PREFERENCES=&Preferences +MENU_BUILD_CONFIGURATIONS=Build configurations MENU_BUILD=&BUILD MENU_BUILD_WORKSPACE_BUILD=Build Workspace MENU_BUILD_WORKSPACE_REBUILD=Rebuild Workspace