Merge pull request #2164 from continuedev/main

hotfix for ability to use more than one inline context provider
This commit is contained in:
Nate Sesti 2024-09-02 13:13:56 -07:00 • committed by GitHub
commit 776fd5cefb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,3 @@
## 0.8.50 - 2024-09-02
### Fixed
* Hotfix for ability to use more than one inline context provider

View file

@ -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

View file

@ -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"

View file

@ -63,7 +63,7 @@ export const Mention = Node.create<MentionOptions>({
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(" ");