revert the usenextedit stuff
This commit is contained in:
parent
8c520f7fad
commit
32b7bb6d71
4 changed files with 0 additions and 21 deletions
|
|
@ -28,7 +28,6 @@ export const sharedConfigSchema = z
|
|||
displayRawMarkdown: z.boolean(),
|
||||
showChatScrollbar: z.boolean(),
|
||||
autoAcceptEditToolDiffs: z.boolean(),
|
||||
useNextEdit: z.boolean(),
|
||||
|
||||
// `tabAutocompleteOptions` in `ContinueConfig`
|
||||
useAutocompleteCache: z.boolean(),
|
||||
|
|
@ -173,8 +172,5 @@ export function modifyAnyConfigWithSharedConfig<
|
|||
configCopy.experimental.useCurrentFileAsContext =
|
||||
sharedConfig.useCurrentFileAsContext;
|
||||
}
|
||||
if (sharedConfig.useNextEdit !== undefined) {
|
||||
configCopy.experimental.useNextEdit = sharedConfig.useNextEdit;
|
||||
}
|
||||
return configCopy;
|
||||
}
|
||||
|
|
|
|||
1
core/index.d.ts
vendored
1
core/index.d.ts
vendored
|
|
@ -1359,7 +1359,6 @@ export interface ExperimentalConfig {
|
|||
/**
|
||||
* If enabled, will add the current file as context.
|
||||
*/
|
||||
useNextEdit?: boolean;
|
||||
useCurrentFileAsContext?: boolean;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -155,12 +155,6 @@ export class VsCodeExtension {
|
|||
|
||||
this.configHandler.onConfigUpdate(
|
||||
async ({ config: newConfig, configLoadInterrupted }) => {
|
||||
if (config?.experimental?.useNextEdit) {
|
||||
// activate next edit
|
||||
} else {
|
||||
// nexteditwindowmanager.deactivates
|
||||
}
|
||||
|
||||
if (configLoadInterrupted) {
|
||||
// Show error in status bar
|
||||
setupStatusBar(undefined, undefined, true);
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@ export function UserSettingsForm() {
|
|||
const disableSessionTitles = config.disableSessionTitles ?? false;
|
||||
const useCurrentFileAsContext =
|
||||
config.experimental?.useCurrentFileAsContext ?? false;
|
||||
const useNextEdit = config.experimental?.useNextEdit ?? false;
|
||||
|
||||
const allowAnonymousTelemetry = config.allowAnonymousTelemetry ?? true;
|
||||
const disableIndexing = config.disableIndexing ?? false;
|
||||
|
|
@ -387,15 +386,6 @@ export function UserSettingsForm() {
|
|||
}
|
||||
text="Add Current File by Default"
|
||||
/>
|
||||
<ToggleSwitch
|
||||
isToggled={useNextEdit}
|
||||
onToggle={() =>
|
||||
handleUpdate({
|
||||
useNextEdit: !useNextEdit,
|
||||
})
|
||||
}
|
||||
text="Add Current File by Default"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue