Skip to content

Commit

Permalink
Rename to build object
Browse files Browse the repository at this point in the history
Signed-off-by: Sanjula <[email protected]>
  • Loading branch information
SanjulaGanepola committed Feb 10, 2025
1 parent 65cd14a commit 31ae80f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/pages/projectExplorer/run-builds-compiles-and-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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%",
Expand Down Expand Up @@ -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"
},
{
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/views/projectExplorer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default class ProjectExplorer implements TreeDataProvider<ProjectExplorer
window.showErrorMessage(l10n.t('Failed to retrieve project'));
}
}),
commands.registerCommand(`vscode-ibmi-projectexplorer.projectExplorer.runBuildObject`, async (element: ObjectFile | ProjectExplorerTreeItem) => {
commands.registerCommand(`vscode-ibmi-projectexplorer.projectExplorer.buildObject`, async (element: ObjectFile | ProjectExplorerTreeItem) => {
if (element) {
const iProject = element.workspaceFolder ? ProjectManager.get(element.workspaceFolder) : undefined;

Expand Down

0 comments on commit 31ae80f

Please sign in to comment.