File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import { installRequirements } from '../util/python_installer/package_install';
1919import { chatWithDevChat } from '../handler/chatHandler' ;
2020import { focusDevChatInput } from '../handler/focusHandler' ;
2121import { DevChatConfig } from '../util/config' ;
22+ import { MessageHandler } from "../handler/messageHandler" ;
2223
2324const readdir = util . promisify ( fs . readdir ) ;
2425const stat = util . promisify ( fs . stat ) ;
@@ -178,6 +179,10 @@ export function regApplyDiffResultCommand(context: vscode.ExtensionContext) {
178179
179180 // 保存左边文档
180181 await leftDoc . save ( ) ;
182+ MessageHandler . sendMessage (
183+ ExtensionContextHolder . provider ?. view ( ) ! ,
184+ { command : 'codeDiffApply' , 'value' : { } }
185+ ) ;
181186 } else {
182187 vscode . window . showErrorMessage ( "No file to apply diff result." ) ;
183188 }
You can’t perform that action at this time.
0 commit comments