@@ -11,7 +11,7 @@ import { EmbeddedDiffEditorWidget } from 'vs/editor/browser/widget/diffEditor/em
11
11
import { EmbeddedCodeEditorWidget } from 'vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget' ;
12
12
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys' ;
13
13
import { InlineChatController , InlineChatRunOptions } from 'vs/workbench/contrib/inlineChat/browser/inlineChatController' ;
14
- import { CTX_INLINE_CHAT_FOCUSED , CTX_INLINE_CHAT_HAS_PROVIDER , CTX_INLINE_CHAT_INNER_CURSOR_FIRST , CTX_INLINE_CHAT_INNER_CURSOR_LAST , CTX_INLINE_CHAT_OUTER_CURSOR_POSITION , CTX_INLINE_CHAT_VISIBLE , MENU_INLINE_CHAT_WIDGET_DISCARD , MENU_INLINE_CHAT_WIDGET_STATUS , CTX_INLINE_CHAT_EDIT_MODE , EditMode , CTX_INLINE_CHAT_DOCUMENT_CHANGED , CTX_INLINE_CHAT_DID_EDIT , CTX_INLINE_CHAT_HAS_STASHED_SESSION , ACTION_ACCEPT_CHANGES , CTX_INLINE_CHAT_RESPONSE_TYPES , InlineChatResponseTypes , ACTION_VIEW_IN_CHAT , CTX_INLINE_CHAT_USER_DID_EDIT , CTX_INLINE_CHAT_RESPONSE_FOCUSED , CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF , CTX_INLINE_CHAT_CHANGE_HAS_DIFF , MENU_INLINE_CHAT_WIDGET , ACTION_TOGGLE_DIFF , CTX_INLINE_CHAT_SUPPORT_ISSUE_REPORTING } from 'vs/workbench/contrib/inlineChat/common/inlineChat' ;
14
+ import { CTX_INLINE_CHAT_FOCUSED , CTX_INLINE_CHAT_HAS_PROVIDER , CTX_INLINE_CHAT_INNER_CURSOR_FIRST , CTX_INLINE_CHAT_INNER_CURSOR_LAST , CTX_INLINE_CHAT_OUTER_CURSOR_POSITION , CTX_INLINE_CHAT_VISIBLE , MENU_INLINE_CHAT_WIDGET_DISCARD , MENU_INLINE_CHAT_WIDGET_STATUS , CTX_INLINE_CHAT_EDIT_MODE , EditMode , CTX_INLINE_CHAT_DOCUMENT_CHANGED , CTX_INLINE_CHAT_DID_EDIT , CTX_INLINE_CHAT_HAS_STASHED_SESSION , ACTION_ACCEPT_CHANGES , CTX_INLINE_CHAT_RESPONSE_TYPES , InlineChatResponseTypes , ACTION_VIEW_IN_CHAT , CTX_INLINE_CHAT_USER_DID_EDIT , CTX_INLINE_CHAT_RESPONSE_FOCUSED , CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF , CTX_INLINE_CHAT_CHANGE_HAS_DIFF , MENU_INLINE_CHAT_WIDGET , ACTION_TOGGLE_DIFF } from 'vs/workbench/contrib/inlineChat/common/inlineChat' ;
15
15
import { localize , localize2 } from 'vs/nls' ;
16
16
import { Action2 , IAction2Options , MenuRegistry } from 'vs/platform/actions/common/actions' ;
17
17
import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService' ;
@@ -370,29 +370,6 @@ export class ToggleDiffForChange extends AbstractInlineChatAction {
370
370
}
371
371
}
372
372
373
-
374
- export class ReportIssueForBugCommand extends AbstractInlineChatAction {
375
- constructor ( ) {
376
- super ( {
377
- id : 'inlineChat.reportIssueForBug' ,
378
- title : localize ( 'feedback.reportIssueForBug' , 'Report Issue' ) ,
379
- icon : Codicon . report ,
380
- precondition : ContextKeyExpr . and ( CTX_INLINE_CHAT_VISIBLE , CTX_INLINE_CHAT_RESPONSE_TYPES . notEqualsTo ( InlineChatResponseTypes . Empty ) ) ,
381
- menu : [ {
382
- id : MENU_INLINE_CHAT_WIDGET ,
383
- when : ContextKeyExpr . and ( CTX_INLINE_CHAT_SUPPORT_ISSUE_REPORTING , CTX_INLINE_CHAT_RESPONSE_TYPES . notEqualsTo ( InlineChatResponseTypes . Empty ) ) ,
384
- group : 'navigation' ,
385
- order : 2
386
- } ]
387
- } ) ;
388
- }
389
-
390
- override runInlineChatCommand ( _accessor : ServicesAccessor , ctrl : InlineChatController ) : void {
391
- ctrl . reportBug ( ) ;
392
- }
393
- }
394
-
395
-
396
373
export class AcceptChanges extends AbstractInlineChatAction {
397
374
398
375
constructor ( ) {
0 commit comments