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

bugfix: handle CR #5651

Closed
wants to merge 1 commit into from
Closed

bugfix: handle CR #5651

wants to merge 1 commit into from

Conversation

kasiaMarek
Copy link
Contributor

resolves: #5369

scala.meta.inputs.Input.VirtualFile counts as new line only \n, where the library used by JavaMtags and editors (at least VSCode) count all \r\n, \n, and \r as new lines.

This is a workaround mapping the file content but maybe this should actually be adjusted in scala.meta.inputs.Input.VirtualFile, @tgodzik ?

@tgodzik
Copy link
Contributor

tgodzik commented Sep 22, 2023

We should be able to close this as it's already handled on scalaemta side, no?

@kasiaMarek kasiaMarek closed this Sep 22, 2023
@kasiaMarek
Copy link
Contributor Author

Handled in: scalameta/scalameta#3343

@filipwiech
Copy link
Contributor

@kasiaMarek: Would it make sense to maybe at least keep the tests from this PR, considering that the Scalameta one doesn't seem to have any? 🤔

@kasiaMarek
Copy link
Contributor Author

Would it make sense to maybe at least keep the tests from this PR, considering that the Scalameta one doesn't seem to have any?

Yeah, we should add it when we will bump the scalameta version.

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.

Not a valid line number error while searching for a java symbol
3 participants