-
Notifications
You must be signed in to change notification settings - Fork 15
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
Comments are not always rendered at the right position #76
Comments
I'll gladly open a PR with a fix if I can get some guidance on where to start looking into the issue. |
Thank you @NickNeck! |
NickNeck
changed the title
Running recode multiple times on file formats comment differently
Comments are not always rendered at the right position
Apr 1, 2024
Opened a PR to solve this issue in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using recode as a mix format plugin, running
mix format
multiple times on a file like the following will always format the file differently:It seems that the problem is related to having a "multiline" comment between list elements, or at least this is the only place where I was able to reproduce the problem.
I've create a simple project to reproduce the issue: https://github.com/DReigada/recode_format_problem.git
Notice that no recode tasks are enable in recode's config file, but the problem happens independently of the configuration.
The text was updated successfully, but these errors were encountered: