diff --git a/.changes/extensions/vscode/0.8.50.md b/.changes/extensions/vscode/0.8.50.md new file mode 100644 index 000000000..41abe2817 --- /dev/null +++ b/.changes/extensions/vscode/0.8.50.md @@ -0,0 +1,3 @@ +## 0.8.50 - 2024-09-02 +### Fixed +* Hotfix for ability to use more than one inline context provider diff --git a/extensions/vscode/CHANGELOG.md b/extensions/vscode/CHANGELOG.md index e714f6825..70a854996 100644 --- a/extensions/vscode/CHANGELOG.md +++ b/extensions/vscode/CHANGELOG.md @@ -5,6 +5,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 0.8.50 - 2024-09-02 +### Fixed +* Hotfix for ability to use more than one inline context provider + ## 0.8.49 - 2024-09-01 ### Fixed * Hotfix: submenu context providers diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index b3d00037f..5335c91b6 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "0.9.205", + "version": "0.9.206", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" diff --git a/gui/src/components/mainInput/MentionExtension.ts b/gui/src/components/mainInput/MentionExtension.ts index e55137fb1..71d282d46 100644 --- a/gui/src/components/mainInput/MentionExtension.ts +++ b/gui/src/components/mainInput/MentionExtension.ts @@ -63,7 +63,7 @@ export const Mention = Node.create({ const allow = !!$from.parent.type.contentMatch.matchType(type); // Check if there's a space after the "@" - const textFrom = range.from - 1; + const textFrom = range.from; const textTo = state.selection.$to.pos; const text = state.doc.textBetween(textFrom, textTo); const hasSpace = text.includes(" ");