You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportconstCTX_INLINE_CHAT_OUTER_CURSOR_POSITION=newRawContextKey<'above'|'below'|''>('inlineChatOuterCursorPosition','',localize('inlineChatOuterCursorPosition',"Whether the cursor of the outer editor is above or below the interactive editor input"));
127
127
exportconstCTX_INLINE_CHAT_HAS_ACTIVE_REQUEST=newRawContextKey<boolean>('inlineChatHasActiveRequest',false,localize('inlineChatHasActiveRequest',"Whether interactive editor has an active request"));
128
128
exportconstCTX_INLINE_CHAT_HAS_STASHED_SESSION=newRawContextKey<boolean>('inlineChatHasStashedSession',false,localize('inlineChatHasStashedSession',"Whether interactive editor has kept a session for quick restore"));
129
-
exportconstCTX_INLINE_CHAT_SHOWING_DIFF=newRawContextKey<boolean>('inlineChatDiff',false,localize('inlineChatDiff',"Whether interactive editor show diffs for changes"));
130
129
exportconstCTX_INLINE_CHAT_LAST_RESPONSE_TYPE=newRawContextKey<InlineChatResponseType|undefined>('inlineChatLastResponseType',undefined,localize('inlineChatResponseType',"What type was the last response of the current interactive editor session"));
131
130
exportconstCTX_INLINE_CHAT_RESPONSE_TYPES=newRawContextKey<InlineChateResponseTypes|undefined>('inlineChatResponseTypes',undefined,localize('inlineChatResponseTypes',"What type was the responses have been receieved"));
132
131
exportconstCTX_INLINE_CHAT_DID_EDIT=newRawContextKey<boolean>('inlineChatDidEdit',undefined,localize('inlineChatDidEdit',"Whether interactive editor did change any code"));
localize('mode.preview',"Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."),
194
194
localize('mode.live',"Changes are applied directly to the document but can be highlighted via inline diffs. Ending a session will keep the changes."),
195
195
]
196
+
},
197
+
'inlineChat.showDiff': {
198
+
description: localize('showDiff',"Enable/disable showing the diff when edits are generated. Works only with inlineChat.mode equal to live or livePreview."),
0 commit comments