Skip to content

Commit 9c3907b

Browse files
committed
Integrate X and Reddit community links and icons
1 parent 09a9d34 commit 9c3907b

7 files changed

Lines changed: 87 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ CWC is for you if:
3535
- you're a craftsman working on a large codebase
3636
- you're a student or hobbyist on a budget
3737
- coding agents are too autonomous for your liking
38+
- you value privacy and full control over your data
3839
- you love open source software! 🫶
3940

4041
<br/>

packages/vscode/package.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,24 @@
311311
"title": "Repository",
312312
"category": "Code Web Chat",
313313
"icon": "$(github-alt)"
314+
},
315+
{
316+
"command": "codeWebChat.openX",
317+
"title": "@CodeWebChat",
318+
"category": "Code Web Chat",
319+
"icon": {
320+
"light": "resources/x-logo-light.svg",
321+
"dark": "resources/x-logo-dark.svg"
322+
}
323+
},
324+
{
325+
"command": "codeWebChat.openReddit",
326+
"title": "/r/CodeWebChat",
327+
"category": "Code Web Chat",
328+
"icon": {
329+
"light": "resources/reddit-logo-light.svg",
330+
"dark": "resources/reddit-logo-dark.svg"
331+
}
314332
}
315333
],
316334
"menus": {
@@ -406,6 +424,14 @@
406424
{
407425
"command": "codeWebChat.openRepository",
408426
"when": "false"
427+
},
428+
{
429+
"command": "codeWebChat.openX",
430+
"when": "false"
431+
},
432+
{
433+
"command": "codeWebChat.openReddit",
434+
"when": "false"
409435
}
410436
],
411437
"view/title": [
@@ -480,14 +506,24 @@
480506
"group": "navigation@2"
481507
},
482508
{
483-
"command": "codeWebChat.rateExtension",
509+
"command": "codeWebChat.openX",
484510
"when": "view == codeWebChatView",
485511
"group": "navigation@3"
486512
},
487513
{
488-
"command": "codeWebChat.openSettings",
514+
"command": "codeWebChat.openReddit",
489515
"when": "view == codeWebChatView",
490516
"group": "navigation@4"
517+
},
518+
{
519+
"command": "codeWebChat.rateExtension",
520+
"when": "view == codeWebChatView",
521+
"group": "navigation@5"
522+
},
523+
{
524+
"command": "codeWebChat.openSettings",
525+
"when": "view == codeWebChatView",
526+
"group": "navigation@6"
491527
}
492528
],
493529
"view/item/context": [
Lines changed: 14 additions & 0 deletions
Loading
Lines changed: 14 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading

packages/vscode/src/extension.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@ export async function activate(context: vscode.ExtensionContext) {
175175
command: 'codeWebChat.openRepository',
176176
url: 'https://github.com/robertpiosik/CodeWebChat'
177177
}),
178+
open_url_command({
179+
command: 'codeWebChat.openX',
180+
url: 'https://x.com/CodeWebChat'
181+
}),
182+
open_url_command({
183+
command: 'codeWebChat.openReddit',
184+
url: 'https://www.reddit.com/r/CodeWebChat/'
185+
}),
178186
open_url_command({
179187
command: 'codeWebChat.rateExtension',
180188
url: 'https://marketplace.visualstudio.com/items?itemName=robertpiosik.gemini-coder&ssr=false#review-details'

0 commit comments

Comments
 (0)