summaryrefslogtreecommitdiff
path: root/extension
diff options
context:
space:
mode:
Diffstat (limited to 'extension')
-rw-r--r--extension/package-lock.json4
-rw-r--r--extension/package.json2
-rw-r--r--extension/src/continueIdeClient.ts28
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;