Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 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
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,11 @@
"icon": "$(git-pull-request-create)",
"category": "%command.pull.request.category%"
},
{
"command": "pr.helloWorld",
"title": "Hello World",
"category": "%command.pull.request.category%"
},
{
"command": "pr.pushAndCreate",
"title": "%command.pr.create.title%",
Expand Down
2 changes: 2 additions & 0 deletions src/@types/vscode.proposed.chatParticipantPrivate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ declare module 'vscode' {
isQuotaExceeded?: boolean;

level?: ChatErrorLevel;

code?: string;
}

export namespace chat {
Expand Down
6 changes: 6 additions & 0 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1920,4 +1920,10 @@ ${contents}
await copilotRemoteAgentManager.resetCodingAgentPreferences();
})
);

context.subscriptions.push(
vscode.commands.registerCommand('pr.helloWorld', async () => {
vscode.window.showInformationMessage('Hello World!');
})
);
}