Skip to content

Commit c7de2ac

Browse files
committed
Remove the dedicated command and implementation for applying a copied code block to the active editor
1 parent fb0eab0 commit c7de2ac

5 files changed

Lines changed: 11 additions & 231 deletions

File tree

‎README.md‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,19 +120,23 @@ Generate meaningful summaries of changes adhering to your style.
120120

121121
## Commands
122122

123-
### Handling chat responses
124-
125-
- `Code Web Chat: Apply Chat Response` - Integrate with the codebase a copied to clipboard overall chat response or a single code block.
126-
- `Code Web Chat: Apply Code Block to Active Editor` - Use Intelligent Update API tool on the active editor with the copied to clipboard.
127-
- `Code Web Chat: Undo Last Changes` - Revert applied AI-suggested edits.
128-
129123
### Code completions
130124

131125
- `Code Web Chat: Code Completion` - Get code-at-cursor using API tool.
132126
- `Code Web Chat: Code Completion using...` - ...with configuration selection.
133127
- `Code Web Chat: Code Completion with Instructions` - ...with instructions.
134128
- `Code Web Chat: Code Completion with Instructions using...` - ...with instructions and configuration selection.
135129

130+
### Handling chat responses
131+
132+
- `Code Web Chat: Apply Chat Response` - Integrate with the codebase a copied to clipboard overall chat response or a single code block.
133+
- `Code Web Chat: Undo Last Changes` - Revert applied AI-suggested edits.
134+
135+
### Checkpoints
136+
137+
- `Code Web Chat: Checkpoints` - Open the checkpoint manager.
138+
- `Code Web Chat: Create New Checkpoint` - Save the current state of the workspace.
139+
136140
## Enterprise security
137141

138142
**Code Web Chat operates exclusively on your machine.** Your code and instructions are sent directly to chatbots via editor-browser communication channel run on local Websockets. For API tools, model providers are called directly.

‎packages/vscode/package.json‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,6 @@
217217
"title": "Apply Chat Response",
218218
"category": "Code Web Chat"
219219
},
220-
{
221-
"command": "codeWebChat.applyCodeBlockToActiveEditor",
222-
"title": "Apply Code Block to Active Editor",
223-
"category": "Code Web Chat"
224-
},
225220
{
226221
"command": "codeWebChat.newFolder",
227222
"title": "New Folder...",

‎packages/vscode/src/commands/apply-code-block-to-active-editor-command.ts‎

Lines changed: 0 additions & 217 deletions
This file was deleted.

‎packages/vscode/src/commands/checkpoints-command/checkpoints-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const checkpoints_command = (
118118
},
119119
{
120120
iconPath: new vscode.ThemeIcon('trash'),
121-
tooltip: 'Delete Checkpoint'
121+
tooltip: 'Delete'
122122
}
123123
]
124124
}))

‎packages/vscode/src/extension.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
save_context_command,
2323
undo_command,
2424
reference_in_chat_command,
25-
apply_code_block_to_active_editor_command,
2625
open_url_command,
2726
feedback_command,
2827
apply_context_from_clipboard_command
@@ -70,7 +69,6 @@ export async function activate(context: vscode.ExtensionContext) {
7069
),
7170
reference_in_chat_command(view_provider, workspace_provider),
7271
apply_chat_response_command(context, view_provider, workspace_provider),
73-
apply_code_block_to_active_editor_command(context),
7472
undo_command(
7573
context,
7674
view_provider.set_undo_button_state,

0 commit comments

Comments
 (0)