Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add live3 to settings #200861

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/vs/workbench/contrib/inlineChat/common/inlineChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,12 @@ Registry.as<IConfigurationRegistry>(Extensions.Configuration).registerConfigurat
description: localize('mode', "Configure if changes crafted in the interactive editor are applied directly to the document or are previewed first."),
default: EditMode.LivePreview,
type: 'string',
enum: [EditMode.LivePreview, EditMode.Preview, EditMode.Live],
enum: [EditMode.LivePreview, EditMode.Preview, EditMode.Live, EditMode.Live3],
markdownEnumDescriptions: [
localize('mode.livePreview', "Changes are applied directly to the document and are highlighted visually via inline or side-by-side diffs. Ending a session will keep the changes."),
localize('mode.preview', "Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."),
localize('mode.live', "Changes are applied directly to the document but can be highlighted via inline diffs. Ending a session will keep the changes."),
localize('mode.live3', "Changes are applied directly to the document but can be highlighted via inline diffs and accepted/discarded by hunks. Ending a session will keep the changes."),
]
},
'inlineChat.showDiff': {
Expand Down