Changesets · Branches · Tags · Compare
| Changeset | c2bde51cedfb4bf18eedcc46e728946d9dfbd07e1527b2789d2dad4f9f10bfaf |
|---|---|
| Author | adarshramiyer <adarsh.r.iyer@gmail.com> · 2025-07-04 19:14 -07:00 |
| Committer | adarshramiyer <adarsh.r.iyer@gmail.com> · 2025-07-04 19:14 -07:00 |
| Parents | 5aed8ce6ba7e |
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 = { |