Skip to content

Commit 24b6104

Browse files
authored
Merge pull request #5923 from continuedev/jacob/feature/call-alongside-autocomplete
Revision on #5921 per PR review
2 parents f1cb419 + 1e3b588 commit 24b6104

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/nextEdit/IgnoreNextEdit.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

core/nextEdit/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const IS_NEXT_EDIT_ACTIVE = false;

extensions/vscode/src/autocomplete/completionProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
type AutocompleteOutcome,
66
} from "core/autocomplete/util/types";
77
import { ConfigHandler } from "core/config/ConfigHandler";
8-
import { IGNORE_NEXT_EDIT } from "core/nextEdit/IgnoreNextEdit";
8+
import { IS_NEXT_EDIT_ACTIVE } from "core/nextEdit/constants";
99
import { NextEditProvider } from "core/nextEdit/NextEditProvider";
1010
import * as URI from "uri-js";
1111
import { v4 as uuidv4 } from "uuid";
@@ -87,7 +87,7 @@ export class ContinueCompletionProvider
8787
getDefinitionsFromLsp,
8888
);
8989
// NOTE: Only turn it on locally when testing (for review purposes).
90-
if (!IGNORE_NEXT_EDIT) {
90+
if (IS_NEXT_EDIT_ACTIVE) {
9191
this.nextEditProvider = new NextEditProvider(
9292
this.configHandler,
9393
this.ide,

0 commit comments

Comments
 (0)