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

Using codestral inline suggestion delete all file #3582

Open
3 tasks done
MalcolmMielle opened this issue Jan 1, 2025 · 4 comments
Open
3 tasks done

Using codestral inline suggestion delete all file #3582

MalcolmMielle opened this issue Jan 1, 2025 · 4 comments
Labels
area:inline-edit Relates to the auto refactor feature kind:bug Indicates an unexpected problem or unintended behavior priority:high Indicates high priority

Comments

@MalcolmMielle
Copy link

Before submitting your bug report

Relevant environment info

- OS: Fedora 42
- Continue version:0.9.248
- IDE version:1.96.2
- Model: Codestral

Description

When using inline suggestion Ctrl+I, at the end of the suggestion when left with the choice to accept or reject, every content of the file outside the selected part (selected before doing Ctrl+i) is deleted.

To reproduce

  1. Go in the code
  2. Use Ctrl+I on a function
  3. Ask for documentation or anything else
  4. Watch the rest of the file be deleted

Log output

No response

@dosubot dosubot bot added area:inline-edit Relates to the auto refactor feature kind:bug Indicates an unexpected problem or unintended behavior labels Jan 1, 2025
@104602517
Copy link

I also ran into this! It works fine originally, but recently (maybe started from a week ago) it became like this.

@Patrick-Erichsen
Copy link
Collaborator

Hi all, I was able to confirm this issue as well. It appears to have been introduced on 0.9.248 - we will get this fixed prior to next release, but in the meantime, I'd recommend downgrading to 0.9.247 to continue using inline edit.

@Patrick-Erichsen
Copy link
Collaborator

Patrick-Erichsen commented Jan 3, 2025

Ended up prioritizing this today and hopefully fixed things in this PR: #3593

Will be available in next pre-release! Thanks again for bringing this to our attention.

@MalcolmMielle
Copy link
Author

Thanks for the fast answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:inline-edit Relates to the auto refactor feature kind:bug Indicates an unexpected problem or unintended behavior priority:high Indicates high priority
Projects
None yet
Development

No branches or pull requests

4 participants