Elffuss BraidHub

kikocis/continue public

Merge pull request #6465 from continuedev/adarsh/feat/seq-in-nexteditdata

rolling back edit logging temporarily — issues with repo detection
Changesetf840a2b4e8a486972509465331223cf72cf7499120c1bd76ebd91bc3ceed95ba
AuthorAdarsh Iyer <76015889+adarshramiyer@users.noreply.github.com> · 2025-07-04 19:27 -07:00
CommitterGitHub <noreply@github.com> · 2025-07-04 19:27 -07:00
Parents40a1f2267a41, c2bde51cedfb

Browse the files at this changeset

1 file changed

modified core/nextEdit/context/processNextEditData.ts +17 −17
@@ -2,7 +2,7 @@
22 import { AutocompleteCodeSnippet } from "../../autocomplete/snippets/types";
33 import { GetLspDefinitionsFunction } from "../../autocomplete/types";
44 import { ConfigHandler } from "../../config/ConfigHandler";
5-import { DataLogger } from "../../data/log";
5+// import { DataLogger } from "../../data/log";
66 import { RecentlyEditedRange } from "../types";
77 import { getAutocompleteContext } from "./autocompleteContextFetching";
88 import { createDiff, DiffFormatType } from "./diffFormatting";
@@ -108,22 +108,22 @@
108108 );
109109 }
110110
111- if (filenamesAndDiffs.length > 0) {
112- // if there are previous edits, log
113- void DataLogger.getInstance().logDevData({
114- name: "nextEditWithHistory",
115- data: {
116- previousEdits: filenamesAndDiffs,
117- fileURI: filePath,
118- workspaceDirURI: workspaceDir,
119- beforeContent,
120- afterContent,
121- beforeCursorPos: cursorPosBeforeEdit,
122- afterCursorPos: cursorPosAfterPrevEdit,
123- context: autocompleteContext,
124- },
125- });
126- }
111+ // if (filenamesAndDiffs.length > 0) {
112+ // // if there are previous edits, log
113+ // void DataLogger.getInstance().logDevData({
114+ // name: "nextEditWithHistory",
115+ // data: {
116+ // previousEdits: filenamesAndDiffs,
117+ // fileURI: filePath,
118+ // workspaceDirURI: workspaceDir,
119+ // beforeContent,
120+ // afterContent,
121+ // beforeCursorPos: cursorPosBeforeEdit,
122+ // afterCursorPos: cursorPosAfterPrevEdit,
123+ // context: autocompleteContext,
124+ // },
125+ // });
126+ // }
127127
128128 // add current edit to history
129129 const thisEdit: prevEdit = {