Skip to content
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

Pretty Diff options for JSX #774

Closed
relifeted opened this issue Feb 1, 2016 · 1 comment
Closed

Pretty Diff options for JSX #774

relifeted opened this issue Feb 1, 2016 · 1 comment

Comments

@relifeted
Copy link

seems not all Pretty Diff options were supported , and .prettydiffrc file was ignored, and some options of Pretty Diff not found in document.

so how could i enable below option in Pretty Diff with Atom Beautify?

http://prettydiff.com/documentation.xhtml#neverflatten

this option work in Pretty Diff like below:

    const {
         foo,
         bar,
    } = this.props;

when true:

    const {
         foo,
         bar,
    } = this.props;

when false:

    const {foo, bar,} = this.props;

Or can i switch JSX beautifier to js-beautify?

because js-beautify works fine on JSX file now.

@prettydiff
Copy link
Collaborator

There are some options still demanding support from Atom Beautify: #524

I recently became a project collaborator and promised I would start generating pull requests to add support for these options, but I have just not gotten to it yet. This might go faster if anybody were to generate some of the pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants