-
Notifications
You must be signed in to change notification settings - Fork 453
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
property deleted by atom-beautify #1835
Comments
Which language and beautifier are you using? Can you generate a debug gist? |
Hi, szeck87 , thank you for reply. |
I'm not able to recreate. Can you debug and post a gist of the log to this? Also, is this the only code in that file? If not, please upload the file itself. Both of these will help troubleshoot the issue. |
I remember seeing something like this a while ago. I bet this is an issue with old Pretty Diff. It does not appear to be present in the current version of Pretty Diff. If my guess is correct then this issue will be resolved by completing this pull request: #1750. The pull request is held by a conflict with a newer dependency. |
@prettydiff Ah you're right. I switched to prettydiff and it did just that. @benpptung Try switching to js-beautify as the default javascript beautifier. |
The latest version of Pretty Diff is published to Atom Beautify where this issue is resolved. |
Description
The results of beautification are not what I expect.
Input Before Beautification
This is what the code looked like before:
Expected Output
The beautified code should have looked like this:
Actual Output
The beautified code actually looked like this:
Steps to Reproduce
Atom Beautify: Beautify Editor
Checklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: