Skip to content

Commit 33f6f23

Browse files
committed
Introduce the Twitter command and link to the main Code Web Chat view
1 parent 09f0237 commit 33f6f23

2 files changed

Lines changed: 22 additions & 3 deletions

File tree

‎packages/vscode/package.json‎

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat",
44
"description": "AI coding without agents (CWC)",
5-
"version": "1.542.0",
5+
"version": "1.543.0",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",
88
"vscode:prepublish": "rimraf out && npm run compile",
@@ -133,6 +133,12 @@
133133
"category": "Code Web Chat",
134134
"icon": "$(feedback)"
135135
},
136+
{
137+
"command": "codeWebChat.twitter",
138+
"title": "Twitter",
139+
"category": "Code Web Chat",
140+
"icon": "$(twitter)"
141+
},
136142
{
137143
"command": "codeWebChat.applyContext",
138144
"title": "Apply Context",
@@ -284,6 +290,10 @@
284290
"command": "codeWebChat.feedback",
285291
"when": "false"
286292
},
293+
{
294+
"command": "codeWebChat.twitter",
295+
"when": "false"
296+
},
287297
{
288298
"command": "codeWebChat.clearChecksOpenEditors",
289299
"when": "false"
@@ -446,12 +456,17 @@
446456
{
447457
"command": "codeWebChat.openRepository",
448458
"when": "view == codeWebChatView",
449-
"group": "navigation@2"
459+
"group": "navigation@1"
450460
},
451461
{
452462
"command": "codeWebChat.feedback",
453463
"when": "view == codeWebChatView",
454-
"group": "navigation@1"
464+
"group": "navigation@3"
465+
},
466+
{
467+
"command": "codeWebChat.twitter",
468+
"when": "view == codeWebChatView",
469+
"group": "navigation@2"
455470
}
456471
],
457472
"view/item/context": [

‎packages/vscode/src/extension.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ export async function activate(context: vscode.ExtensionContext) {
9696
url: 'https://github.com/robertpiosik/CodeWebChat'
9797
}),
9898
feedback_command(),
99+
open_url_command({
100+
command: 'codeWebChat.twitter',
101+
url: 'https://x.com/CodeWebChat'
102+
}),
99103
vscode.commands.registerCommand(
100104
'codeWebChat.settings',
101105
(section?: string) => {

0 commit comments

Comments
 (0)