Skip to content

Commit e2a06f4

Browse files
committed
Bump version to 1.992.0, remove removeFileFromContext command, and refactor commit message translation keys
1 parent f192581 commit e2a06f4

3 files changed

Lines changed: 11 additions & 14 deletions

File tree

‎apps/editor/package.json‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat",
44
"description": "CWC: AI coding with static context",
5-
"version": "1.991.0",
5+
"version": "1.992.0",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",
88
"vscode:prepublish": "rimraf out && npm run compile",
@@ -259,12 +259,6 @@
259259
"category": "Code Web Chat",
260260
"icon": "$(files)"
261261
},
262-
{
263-
"command": "codeWebChat.removeFileFromContext",
264-
"title": "%codeWebChat.removeFileFromContext.title%",
265-
"category": "Code Web Chat",
266-
"icon": "$(remove)"
267-
},
268262
{
269263
"command": "codeWebChat.applyResponse",
270264
"title": "%codeWebChat.applyResponse.title%",

‎apps/editor/src/features/commit-messages/utils/generate-commit-message-with-api.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const generate_commit_message_with_api = async (params: {
4141
return await vscode.window.withProgress(
4242
{
4343
location: vscode.ProgressLocation.Notification,
44-
title: t('command.commit-message.progress.title'),
44+
title: t('command.generate-commit-message.progress.title'),
4545
cancellable: true
4646
},
4747
async (progress, token) => {

‎apps/editor/src/utils/git-repository-utils.ts‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const get_git_repository = async (
7272
})
7373

7474
const selected = await vscode.window.showQuickPick(picks, {
75-
placeHolder: t('command.commit-message.select-repository')
75+
placeHolder: t('command.generate-commit-message.select-repository')
7676
})
7777

7878
if (!selected) {
@@ -128,7 +128,7 @@ export const get_repository_for_commit = async (
128128
})
129129

130130
const selected = await vscode.window.showQuickPick(picks, {
131-
placeHolder: t('command.commit-message.select-repository')
131+
placeHolder: t('command.generate-commit-message.select-repository')
132132
})
133133

134134
if (!selected) {
@@ -270,7 +270,7 @@ export const prepare_staged_changes = async (params: {
270270
iconPath: new vscode.ThemeIcon(
271271
'git-pull-request-go-to-changes'
272272
),
273-
tooltip: t('command.commit-message.show-diff')
273+
tooltip: t('command.generate-commit-message.show-diff')
274274
},
275275
{
276276
iconPath: new vscode.ThemeIcon('go-to-file'),
@@ -294,8 +294,10 @@ export const prepare_staged_changes = async (params: {
294294
}
295295

296296
quick_pick.canSelectMany = true
297-
quick_pick.title = t('command.commit-message.unstaged-files')
298-
quick_pick.placeholder = t('command.commit-message.select-files')
297+
quick_pick.title = t('command.generate-commit-message.unstaged-files')
298+
quick_pick.placeholder = t(
299+
'command.generate-commit-message.select-files'
300+
)
299301
quick_pick.ignoreFocusOut = true
300302
quick_pick.buttons = [
301303
{
@@ -316,7 +318,8 @@ export const prepare_staged_changes = async (params: {
316318
const uri = vscode.Uri.file(event.item.fsPath)
317319
vscode.window.showTextDocument(uri, { preview: true })
318320
} else if (
319-
event.button.tooltip == t('command.commit-message.show-diff')
321+
event.button.tooltip ==
322+
t('command.generate-commit-message.show-diff')
320323
) {
321324
const uri = vscode.Uri.file(event.item.fsPath)
322325
await vscode.commands.executeCommand('git.openChange', uri)

0 commit comments

Comments
 (0)