diff --git a/docs/pages/projectExplorer/run-builds-compiles-and-actions.md b/docs/pages/projectExplorer/run-builds-compiles-and-actions.md index 4cc3da7..f4109ec 100644 --- a/docs/pages/projectExplorer/run-builds-compiles-and-actions.md +++ b/docs/pages/projectExplorer/run-builds-compiles-and-actions.md @@ -16,13 +16,13 @@ In the case you want to simply build a specific object in your project, you can ![Set Build Object Command](../../assets/ProjectExplorer_41.png ':size=500') -To then build a target object, locate the object under the **Library List** or **Object Libraries** and use the right-click **Run Build Object** action. +To then build a target object, locate the object under the **Library List** or **Object Libraries** and use the right-click **Build Object** action. > [!NOTE] > > This action can also be performed on objects under the [Source Orbit heading](https://ibm.github.io/sourceorbit/#/./pages/extension/index?id=ibm-i-project-explorer-integration) in **Project Explorer** as well as on objects in both [impacted object views](https://ibm.github.io/sourceorbit/#/./pages/extension/index?id=view-impacted-objects) provided by Source Orbit (**Source Impacts** and **Change Impacts**). -![Run Build Object](../../assets/ProjectExplorer_42.png ':size=500') +![Build Object](../../assets/ProjectExplorer_42.png ':size=500') ## Run a Compile diff --git a/package.json b/package.json index 5c25a17..7874335 100644 --- a/package.json +++ b/package.json @@ -386,8 +386,8 @@ }, { "category": "%commands.projectExplorer%", - "command": "vscode-ibmi-projectexplorer.projectExplorer.runBuildObject", - "title": "%commands.projectExplorer.runBuildObject%" + "command": "vscode-ibmi-projectexplorer.projectExplorer.buildObject", + "title": "%commands.projectExplorer.buildObject%" }, { "category": "%commands.projectExplorer%", @@ -851,7 +851,7 @@ "when": "vscode-ibmi-projectexplorer:hasActiveProject" }, { - "command": "vscode-ibmi-projectexplorer.projectExplorer.runBuildObject", + "command": "vscode-ibmi-projectexplorer.projectExplorer.buildObject", "when": "vscode-ibmi-projectexplorer:hasActiveProject" }, { @@ -1587,7 +1587,7 @@ "group": "2_objectActions@0" }, { - "command": "vscode-ibmi-projectexplorer.projectExplorer.runBuildObject", + "command": "vscode-ibmi-projectexplorer.projectExplorer.buildObject", "when": "view == projectExplorer && code-for-ibmi:connected && viewItem =~ /^(objectFile|ileObject).*/", "group": "1_actions@0" }, @@ -1797,12 +1797,12 @@ "group": "1_filter@0" }, { - "command": "vscode-ibmi-projectexplorer.projectExplorer.runBuildObject", + "command": "vscode-ibmi-projectexplorer.projectExplorer.buildObject", "when": "view == activeImpactView && code-for-ibmi:connected && viewItem =~ /^ileObject.*/", "group": "1_actions@0" }, { - "command": "vscode-ibmi-projectexplorer.projectExplorer.runBuildObject", + "command": "vscode-ibmi-projectexplorer.projectExplorer.buildObject", "when": "view == gitImpactView && code-for-ibmi:connected && viewItem =~ /^ileObject.*/", "group": "1_actions@0" } diff --git a/package.nls.json b/package.nls.json index 2c8fd2d..cf37c87 100644 --- a/package.nls.json +++ b/package.nls.json @@ -80,7 +80,7 @@ "commands.projectExplorer.renameMember": "Rename Member", "commands.projectExplorer.renameObject": "Rename Object", "commands.projectExplorer.runBuild": "Run Build", - "commands.projectExplorer.runBuildObject": "Run Build Object", + "commands.projectExplorer.buildObject": "Build Object", "commands.projectExplorer.runCompile": "Run Compile", "commands.projectExplorer.runAction": "Run Action", "commands.projectExplorer.searchSourceFile": "Search Source File", diff --git a/src/views/projectExplorer/index.ts b/src/views/projectExplorer/index.ts index 13d64fc..6ec5e1a 100644 --- a/src/views/projectExplorer/index.ts +++ b/src/views/projectExplorer/index.ts @@ -148,7 +148,7 @@ export default class ProjectExplorer implements TreeDataProvider { + commands.registerCommand(`vscode-ibmi-projectexplorer.projectExplorer.buildObject`, async (element: ObjectFile | ProjectExplorerTreeItem) => { if (element) { const iProject = element.workspaceFolder ? ProjectManager.get(element.workspaceFolder) : undefined;