Skip to content

Commit b9cfa82

Browse files
committed
Add rate extension command with multi-language support
- add 'rate extension' command (place below 'visit website'). when clicked should give 3 options: VS Code Marketplace (https://marketplace.visualstudio.com/items?itemName=robertpiosik.gemini-coder), [Pasted text]. In top right corner place close icon. - in `apps/editor/src/commands/rate-extension-command.ts` print urls in descriptions - in `apps/editor/src/commands/rate-extension-command.ts` add placeholder text - translate strings of `apps/editor/src/commands/rate-extension-command.ts` - translate string of `apps/editor/src/commands/rate-extension-command.ts` - rename `apps/editor/src/i18n/translations/commands/rate.ts` to 'rate-extension' └── apps └── editor ├── package.json ├── package.nls.bg.json ├── package.nls.cs.json ├── package.nls.de.json ├── package.nls.es.json ├── package.nls.fr.json ├── package.nls.hu.json ├── package.nls.it.json ├── package.nls.ja.json ├── package.nls.json ├── package.nls.ko.json ├── package.nls.pl.json ├── package.nls.pt-br.json ├── package.nls.ru.json ├── package.nls.tr.json ├── package.nls.zh-cn.json ├── package.nls.zh-tw.json └── src ├── commands │ ├── generate-commit-message-commands │ │ ├── actions │ │ │ ├── get-prompt-data.ts │ │ │ └── run-generate-action.ts │ │ ├── generate-commit-message-commands.ts │ │ ├── index.ts │ │ └── utils │ │ ├── build-commit-message-prompt.ts │ │ ├── generate-commit-message-with-api.ts │ │ ├── get-commit-message-config.ts │ │ └── strip-wrapping-quotes.ts │ ├── index.ts │ └── rate-extension-command.ts ├── extension.ts └── i18n └── translations └── commands ├── index.ts ├── new-file.ts ├── rate-extension.ts └── rate.ts
1 parent 3572854 commit b9cfa82

23 files changed

Lines changed: 98 additions & 7 deletions

‎README.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
Free and privacy-fist toolkit for AI coding with static context. **Start in VS Code (Cursor, Antigravity, VSCodium, etc.), then continue in ChatGPT, Gemini, Claude, etc.** or _Bring Your Own Key_ and stay in the editor!
1515

16-
Get involved! Join our [discord server](https://discord.gg/KJySXsrSX5).
17-
1816
> [!TIP]
1917
> Elevate your workflow with smart workspaces (called [projects](https://help.openai.com/en/articles/10169521-projects-in-chatgpt), [gems](https://gemini.google/pl/overview/gems), or [spaces](https://docs.github.com/en/copilot/concepts/context/spaces)).
2018

‎apps/editor/package.json‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@
149149
"title": "%codeWebChat.visitWebsite.title%",
150150
"category": "Code Web Chat"
151151
},
152+
{
153+
"command": "codeWebChat.rateExtension",
154+
"title": "%codeWebChat.rateExtension.title%",
155+
"category": "Code Web Chat"
156+
},
152157
{
153158
"command": "codeWebChat.openRepository",
154159
"title": "%codeWebChat.openRepository.title%",
@@ -558,6 +563,10 @@
558563
"command": "codeWebChat.visitWebsite",
559564
"when": "false"
560565
},
566+
{
567+
"command": "codeWebChat.rateExtension",
568+
"when": "false"
569+
},
561570
{
562571
"command": "codeWebChat.setRanges",
563572
"when": "false"
@@ -755,14 +764,19 @@
755764
"group": "1_more@1"
756765
},
757766
{
758-
"command": "codeWebChat.openRepository",
767+
"command": "codeWebChat.rateExtension",
759768
"when": "view == promptView",
760769
"group": "1_more@2"
761770
},
762771
{
763-
"command": "codeWebChat.followOnX",
772+
"command": "codeWebChat.openRepository",
764773
"when": "view == promptView",
765774
"group": "1_more@3"
775+
},
776+
{
777+
"command": "codeWebChat.followOnX",
778+
"when": "view == promptView",
779+
"group": "1_more@4"
766780
}
767781
],
768782
"scm/title": [

‎apps/editor/package.nls.bg.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "Копирай пътища",
1212
"codeWebChat.copyPathsOpenEditors.title": "Копирай пътища на отворените редактори",
1313
"codeWebChat.visitWebsite.title": "Посети уебсайта",
14+
"codeWebChat.rateExtension.title": "Оцени разширението",
1415
"codeWebChat.openRepository.title": "Дай звезда в GitHub",
1516
"codeWebChat.followOnX.title": "Последвай в X",
1617
"codeWebChat.checkAll.title": "Маркирай всичко",

‎apps/editor/package.nls.cs.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "Kopírovat cesty",
1212
"codeWebChat.copyPathsOpenEditors.title": "Kopírovat cesty otevřených editorů",
1313
"codeWebChat.visitWebsite.title": "Navštívit webovou stránku",
14+
"codeWebChat.rateExtension.title": "Ohodnotit rozšíření",
1415
"codeWebChat.openRepository.title": "Dát hvězdičku na GitHubu",
1516
"codeWebChat.followOnX.title": "Sledujte na X",
1617
"codeWebChat.checkAll.title": "Vybrat vše",

‎apps/editor/package.nls.de.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "Pfade kopieren",
1212
"codeWebChat.copyPathsOpenEditors.title": "Pfade geöffneter Editoren kopieren",
1313
"codeWebChat.visitWebsite.title": "Website besuchen",
14+
"codeWebChat.rateExtension.title": "Erweiterung bewerten",
1415
"codeWebChat.openRepository.title": "Auf GitHub mit Stern versehen",
1516
"codeWebChat.followOnX.title": "Auf X folgen",
1617
"codeWebChat.checkAll.title": "Alle auswählen",

‎apps/editor/package.nls.es.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "Copiar rutas",
1212
"codeWebChat.copyPathsOpenEditors.title": "Copiar rutas de editores abiertos",
1313
"codeWebChat.visitWebsite.title": "Visitar sitio web",
14+
"codeWebChat.rateExtension.title": "Calificar extensión",
1415
"codeWebChat.openRepository.title": "Dar estrella en GitHub",
1516
"codeWebChat.followOnX.title": "Seguir en X",
1617
"codeWebChat.checkAll.title": "Marcar todo",

‎apps/editor/package.nls.fr.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "Copier les chemins",
1212
"codeWebChat.copyPathsOpenEditors.title": "Copier les chemins des éditeurs ouverts",
1313
"codeWebChat.visitWebsite.title": "Visiter le site web",
14+
"codeWebChat.rateExtension.title": "Évaluer l'extension",
1415
"codeWebChat.openRepository.title": "Ajouter une étoile sur GitHub",
1516
"codeWebChat.followOnX.title": "Suivre sur X",
1617
"codeWebChat.checkAll.title": "Tout cocher",

‎apps/editor/package.nls.hu.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "Útvonalak másolása",
1212
"codeWebChat.copyPathsOpenEditors.title": "Nyitott szerkesztők útvonalainak másolása",
1313
"codeWebChat.visitWebsite.title": "Weboldal felkeresése",
14+
"codeWebChat.rateExtension.title": "Bővítmény értékelése",
1415
"codeWebChat.openRepository.title": "Csillagozás a GitHubon",
1516
"codeWebChat.followOnX.title": "Követés az X-en",
1617
"codeWebChat.checkAll.title": "Összes kijelölése",

‎apps/editor/package.nls.it.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "Copia percorsi",
1212
"codeWebChat.copyPathsOpenEditors.title": "Copia i percorsi degli editor aperti",
1313
"codeWebChat.visitWebsite.title": "Visita il sito web",
14+
"codeWebChat.rateExtension.title": "Valuta l'estensione",
1415
"codeWebChat.openRepository.title": "Aggiungi una stella su GitHub",
1516
"codeWebChat.followOnX.title": "Segui su X",
1617
"codeWebChat.checkAll.title": "Seleziona tutto",

‎apps/editor/package.nls.ja.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"codeWebChat.copyPaths.title": "パスをコピー",
1212
"codeWebChat.copyPathsOpenEditors.title": "開いているエディターのパスをコピー",
1313
"codeWebChat.visitWebsite.title": "ウェブサイトにアクセス",
14+
"codeWebChat.rateExtension.title": "拡張機能を評価する",
1415
"codeWebChat.openRepository.title": "GitHubでスターをつける",
1516
"codeWebChat.followOnX.title": "Xでフォロー",
1617
"codeWebChat.checkAll.title": "すべて選択",

0 commit comments

Comments
 (0)