Changesets · Branches · Tags · Compare
| Changeset | f840a2b4e8a486972509465331223cf72cf7499120c1bd76ebd91bc3ceed95ba |
|---|---|
| Author | Adarsh Iyer <76015889+adarshramiyer@users.noreply.github.com> · 2025-07-04 19:27 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-04 19:27 -07:00 |
| Parents | 40a1f2267a41, c2bde51cedfb |
1 file changed
modified core/nextEdit/context/processNextEditData.ts +17 −17
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | import { AutocompleteCodeSnippet } from "../../autocomplete/snippets/types"; |
| 3 | 3 | import { GetLspDefinitionsFunction } from "../../autocomplete/types"; |
| 4 | 4 | import { ConfigHandler } from "../../config/ConfigHandler"; |
| 5 | -import { DataLogger } from "../../data/log"; | |
| 5 | +// import { DataLogger } from "../../data/log"; | |
| 6 | 6 | import { RecentlyEditedRange } from "../types"; |
| 7 | 7 | import { getAutocompleteContext } from "./autocompleteContextFetching"; |
| 8 | 8 | import { createDiff, DiffFormatType } from "./diffFormatting"; |
| @@ -108,22 +108,22 @@ | ||
| 108 | 108 | ); |
| 109 | 109 | } |
| 110 | 110 | |
| 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 | + // } | |
| 127 | 127 | |
| 128 | 128 | // add current edit to history |
| 129 | 129 | const thisEdit: prevEdit = { |