diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-04 13:56:38 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-04 13:56:38 -0700 |
commit | 4c51e14ae8fc19ff1c7552f060a59f21abf016c7 (patch) | |
tree | 5c9b950243559fc724556525f3f16e28da73ea71 /extension | |
parent | 67e70b868f63e20c2b0cae875993e267a5c32d5e (diff) | |
download | sncontinue-4c51e14ae8fc19ff1c7552f060a59f21abf016c7.tar.gz sncontinue-4c51e14ae8fc19ff1c7552f060a59f21abf016c7.tar.bz2 sncontinue-4c51e14ae8fc19ff1c7552f060a59f21abf016c7.zip |
insert at cursor, patch
Diffstat (limited to 'extension')
-rw-r--r-- | extension/package-lock.json | 4 | ||||
-rw-r--r-- | extension/package.json | 2 | ||||
-rw-r--r-- | extension/src/continueIdeClient.ts | 28 |
3 files changed, 17 insertions, 17 deletions
diff --git a/extension/package-lock.json b/extension/package-lock.json index 94823004..c4a930de 100644 --- a/extension/package-lock.json +++ b/extension/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "0.0.107", + "version": "0.0.108", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "continue", - "version": "0.0.107", + "version": "0.0.108", "license": "Apache-2.0", "dependencies": { "@electron/rebuild": "^3.2.10", diff --git a/extension/package.json b/extension/package.json index 6434efc3..87dd7ba6 100644 --- a/extension/package.json +++ b/extension/package.json @@ -14,7 +14,7 @@ "displayName": "Continue", "pricing": "Free", "description": "The open-source coding autopilot", - "version": "0.0.107", + "version": "0.0.108", "publisher": "Continue", "engines": { "vscode": "^1.67.0" diff --git a/extension/src/continueIdeClient.ts b/extension/src/continueIdeClient.ts index c517eb98..b9969858 100644 --- a/extension/src/continueIdeClient.ts +++ b/extension/src/continueIdeClient.ts @@ -410,21 +410,21 @@ class IdeProtocolClient { let rangeInFiles: RangeInFile[] = []; vscode.window.visibleTextEditors.forEach((editor) => { editor.selections.forEach((selection) => { - if (!selection.isEmpty) { - rangeInFiles.push({ - filepath: editor.document.uri.fsPath, - range: { - start: { - line: selection.start.line, - character: selection.start.character, - }, - end: { - line: selection.end.line, - character: selection.end.character, - }, + // if (!selection.isEmpty) { + rangeInFiles.push({ + filepath: editor.document.uri.fsPath, + range: { + start: { + line: selection.start.line, + character: selection.start.character, }, - }); - } + end: { + line: selection.end.line, + character: selection.end.character, + }, + }, + }); + // } }); }); return rangeInFiles; |