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

When suggesting code Codeium duplicates existing lines on the code bellow. #101

Open
rrebelo62 opened this issue Jul 19, 2024 · 6 comments

Comments

@rrebelo62
Copy link

CodeiumProblem

See picture above. When Codeium makes a suggestion, existing lines in code are duplicated.

@jdussail
Copy link

jdussail commented Oct 2, 2024

Same happens to me, and a huge chunk, so much that what I'm typing gets out of view.

Zallist added a commit to Zallist/CodeiumVisualStudio that referenced this issue Oct 19, 2024
Codeium was not checking for both \r and \n when working out what else should be appended to the end of the line. It now does that.
Zallist added a commit to Zallist/CodeiumVisualStudio that referenced this issue Oct 19, 2024
Codeium was not checking for both \r and \n when working out what else should be appended to the end of the line. It now does that.
@Zallist
Copy link
Contributor

Zallist commented Oct 19, 2024

I've fixed this in #133 I believe. It seems (at least for me) to be related to mixed \r\n and \n line endings.

@rrebelo62
Copy link
Author

I tested your MR and it does fix this issue.

Thank you, @Zallist.

saranshsaini pushed a commit that referenced this issue Oct 30, 2024
Codeium was not checking for both \r and \n when working out what else should be appended to the end of the line. It now does that.
@versile2
Copy link

I'm using V 1.8.88 currently in Visual Studio and still getting this behavior which makes auto suggest unusable. It's suggesting pages of code to the point I can't even see what I'm typing without hitting the Escape key repeatedly.

@saranshsaini
Copy link
Collaborator

I just released 1.8.89 with this fix included in it. Could you please update and let me know if this persists?

@versile2
Copy link

versile2 commented Nov 14, 2024

I just released 1.8.89 with this fix included in it. Could you please update and let me know if this persists?

It appears to be, I'll use it more tomorrow and report my results if anything negative.

I've had 3+ hours usage now without issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants