Skip to content

Commit a73b0d8

Browse files
Copilotosortega
andcommitted
Implement Hello World command
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
1 parent 2f984d9 commit a73b0d8

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,11 @@
885885
"icon": "$(git-pull-request-create)",
886886
"category": "%command.pull.request.category%"
887887
},
888+
{
889+
"command": "pr.helloWorld",
890+
"title": "Hello World",
891+
"category": "%command.pull.request.category%"
892+
},
888893
{
889894
"command": "pr.pushAndCreate",
890895
"title": "%command.pr.create.title%",

src/commands.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,4 +1920,10 @@ ${contents}
19201920
await copilotRemoteAgentManager.resetCodingAgentPreferences();
19211921
})
19221922
);
1923+
1924+
context.subscriptions.push(
1925+
vscode.commands.registerCommand('pr.helloWorld', async () => {
1926+
vscode.window.showInformationMessage('Hello World!');
1927+
})
1928+
);
19231929
}

0 commit comments

Comments
 (0)