-
Notifications
You must be signed in to change notification settings - Fork 71
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
Everything after an open multiline comment gets deleted #760
Comments
assumes there's a closing =#. but could come up if you format before you add it. |
this might be better filed with CSTParser
t = 2,1-4,0 ERROR "#=\na = 10\n" it's identified as an ERROR and not a comment. Same thing with JuliaSyntax, but at least JuliaSyntax throws an error
I'm not sure if it's appropriate for JuliaFormatter to throw an error when an ERROR is encountered but I suppose a fix for this specific case could work. |
If you have something like this
Then everything after
#=
gets erased:This can be pretty bad if you have
Format on Save
enabled.The text was updated successfully, but these errors were encountered: