Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/views/jobManager/jobManagerView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ export class JobManagerView implements TreeDataProvider<any> {
}
}),

vscode.commands.registerCommand(`vscode-db2i.jobManager.viewWrkJob`, async () => {
const selected = JobManager.getSelection();
if (selected?.job.id) {
await vscode.commands.executeCommand('vscode-ibmi-fs.wrkjob', selected.job.id);
}
}),

vscode.commands.registerCommand(`vscode-db2i.jobManager.copyJobId`, async (node?: SQLJobItem) => {
if (node) {
const id = node.label as string;
Expand Down
2 changes: 1 addition & 1 deletion src/views/jobManager/statusBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function updateStatusBar(options: {newJob?: boolean, canceling?: bo
}
}

toolTipItems.push(`[$(info) View Job Log](command:vscode-db2i.jobManager.viewJobLog)`);
toolTipItems.push(`[$(info) View Job](command:vscode-db2i.jobManager.viewWrkJob)`);
toolTipItems.push(`[$(edit) Edit Connection Settings](command:vscode-db2i.jobManager.editJobProps)`);
toolTipItems.push(`[$(bracket-error) Edit SELF codes](command:vscode-db2i.jobManager.editSelfCodes)`);
} else {
Expand Down
Loading