File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
src/vs/workbench/contrib/inlineChat/browser Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export class StartSessionAction extends EditorAction2 {
56
56
typeof message !== 'undefined' && typeof message !== 'string'
57
57
|| typeof autoSend !== 'undefined' && typeof autoSend !== 'boolean'
58
58
|| typeof initialRange !== 'undefined' && ! Range . isIRange ( initialRange )
59
- || typeof position !== 'undefined' && typeof ! Position . isIPosition ( position ) ) {
59
+ || typeof position !== 'undefined' && ! Position . isIPosition ( position ) ) {
60
60
return false ;
61
61
}
62
62
return true ;
@@ -68,7 +68,6 @@ export class StartSessionAction extends EditorAction2 {
68
68
if ( arg && this . _isInteractivEditorOptions ( arg ) ) {
69
69
options = arg ;
70
70
}
71
- console . log ( 'options inside of run editor command : ' , options ) ;
72
71
InlineChatController . get ( editor ) ?. run ( options ) ;
73
72
}
74
73
}
Original file line number Diff line number Diff line change @@ -185,8 +185,6 @@ export class InlineChatController implements IEditorContribution {
185
185
186
186
// ---- state machine
187
187
188
- // TODO: maybe should instead use the position inside of the line number?
189
- // Makes the code more difficult but more coherent
190
188
private _showWidget ( initialRender : boolean = false , position ?: IPosition ) {
191
189
assertType ( this . _editor . hasModel ( ) ) ;
192
190
@@ -222,7 +220,6 @@ export class InlineChatController implements IEditorContribution {
222
220
223
221
let session : Session | undefined = options . existingSession ;
224
222
225
- console . log ( 'options : ' , options ) ;
226
223
this . _showWidget ( true , options . position ) ;
227
224
this . _zone . value . widget . updateInfo ( localize ( 'welcome.1' , "AI-generated code may be incorrect" ) ) ;
228
225
this . _zone . value . widget . placeholder = this . _getPlaceholderText ( ) ;
@@ -311,7 +308,6 @@ export class InlineChatController implements IEditorContribution {
311
308
}
312
309
} ) ;
313
310
314
- console . log ( 'options : ' , options ) ;
315
311
this . _showWidget ( true , options . position ) ;
316
312
317
313
this . _sessionStore . add ( this . _editor . onDidChangeModel ( ( e ) => {
You can’t perform that action at this time.
0 commit comments