Atom IDE supports code formatting and exposes a similar api via the atom services code-format.file, code-format.onSave, and others. Atom IDE users expect to use cmd-shift-c to format code of all types, not just those supported by atom-beautify.
cc @hansonw
Here's an example of Nuclide's JSON formatting using this service
I think this is somewhat related to https://github.com/Unibeautify/unibeautify/issues/61
Great idea! Would be very interested in receiving a Pull Request!
More info can be found at https://github.com/facebook-atom/atom-ide-ui/blob/master/docs/code-format.md
Relevant documentation here: https://github.com/facebook-atom/atom-ide-ui/blob/master/docs/code-format.md#service-api
Awesome! Please let us know if you need any assistance, @wbinnssmith.
Thanks for plugging those docs and pages :)
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
I'm incorporating this into Unibeautify. I want to make the methods in that file even more modular to: 1. Deduplicate code that is already there and 2. Implement this more easily.
@Glavin001 take a look at Slack when you have time to look over code.
@stevenzeck you'd like to related this to https://github.com/Glavin001/atom-beautify/issues/1174 and include in those changes? Sounds good to me 馃憤 .
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.