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

Fix for github issue #101: Codeium only checked for \r and and not \n or \r\n when checking for end of line #133

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

Zallist
Copy link
Contributor

@Zallist Zallist commented Oct 19, 2024

Issue #101 highlights a problem where Codeium outputs significantly more text than it's meant to. This happens on any file which has both \r\n and \n for line endings. It's a fairly simple regex to check for both \r and \n and then just return the index of them.

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.
@CLAassistant
Copy link

CLAassistant commented Oct 19, 2024

CLA assistant check
All committers have signed the CLA.

@fortenforge
Copy link
Collaborator

Oh man thank you so much for getting to the bottom of this

@saranshsaini saranshsaini merged commit 0351f35 into Exafunction:main Oct 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

4 participants