File tree Expand file tree Collapse file tree
commands/apply-response-command Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,8 +202,6 @@ export const process_response = async (params: {
202202 title : t ( 'command.apply-response.relevant-files.success' ) ,
203203 type : 'success'
204204 } )
205-
206- await params . prompt_view_provider . switch_to_edit_files ( )
207205 }
208206
209207 return null
Original file line number Diff line number Diff line change @@ -288,32 +288,6 @@ export class PromptViewProvider implements vscode.WebviewViewProvider {
288288 this . open_editors_provider . set_no_context_mode ( is_no_context )
289289 }
290290
291- public async switch_to_edit_files ( ) {
292- if ( this . mode == MODE . WEB ) {
293- this . web_prompt_type = 'edit-files'
294- await this . extension_context . workspaceState . update (
295- WEB_MODE_STATE_KEY ,
296- 'edit-files'
297- )
298- this . send_message ( {
299- command : 'WEB_PROMPT_TYPE' ,
300- prompt_type : 'edit-files'
301- } )
302- } else {
303- this . api_prompt_type = 'edit-files'
304- await this . extension_context . workspaceState . update (
305- API_MODE_STATE_KEY ,
306- 'edit-files'
307- )
308- this . send_message ( {
309- command : 'API_PROMPT_TYPE' ,
310- prompt_type : 'edit-files'
311- } )
312- }
313- this . update_providers_shrink_mode ( )
314- this . update_providers_context_state ( )
315- }
316-
317291 private _send_send_with_shift_enter ( ) {
318292 const config = vscode . workspace . getConfiguration ( 'codeWebChat' )
319293 const enabled = config . get < boolean > ( 'sendWithShiftEnter' , false )
You can’t perform that action at this time.
0 commit comments