Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a context provider mid-prompt deletes the contents of the editor after the provider #1639

Open
3 tasks
Patrick-Erichsen opened this issue Jul 3, 2024 · 3 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Patrick-Erichsen
Copy link
Contributor

Before submitting your bug report

Relevant environment info

- OS:
- Continue:
- IDE:

Description

https://discord.com/channels/1108621136150929458/1156679146932535376/1257848784008904795

hey everyone, not sure if this has been brought up or if its just me, but whenever i write up a prompt/query, adn go back to beginning of prompt or middle of prompt to @ a certain file that i want in the context, the rest of the query (after I @ the file) is deleted. anyoen else dealing with this?

To reproduce

No response

Log output

No response

@Patrick-Erichsen Patrick-Erichsen added the bug Something isn't working label Jul 3, 2024
@sestinj
Copy link
Contributor

sestinj commented Jul 3, 2024

This feels related to the fact that an "@" anywhere in the prompt before the cursor will cause the dropdown to appear, though I'm not confident that solving one solves the other. May be a separate issue

But this is definitely the culprit for this issue: https://github.com/continuedev/continue/blob/dev/gui/src/components/mainInput/TipTapEditor.tsx#L168-L172

@cooldude6000
Copy link

Is this issue open? Can i take it?

@sestinj
Copy link
Contributor

sestinj commented Jul 3, 2024

@gowreesh369 absolutely! Just assigned to you

@sestinj sestinj added the good first issue Good for newcomers label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants