-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
Diagnostics error occurs when an @ is used in the file path #8086
Comments
I... don't think this can be fixed in the old protocol. |
Why not? The |
Yes but the position is also separated with a |
I'm not sure that can actually happen though? Or is The original issue here is with |
Not sure what you mean, something like |
Something like that, yeah. |
Should be fine now that diagnostics have been moved to Json RPC |
If the path of a file has an
@
in it, an error will occur with diagnostics.For example, I have a folder called
@Projects
. This causes the error to occur in VSCode when I save.Invalid format: Projects/FlixelTut/source/PlayState.hx
The issue appears to be a compiler bug, probably a string.split() that goes wrong. Based on discussions with @Gama11 in Discord, we believe that Haxe does a a naive string split on @, assuming that can't appear in file paths.
The text was updated successfully, but these errors were encountered: