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

Indentation not work for JSX code #8

Open
tmtxt opened this issue Jun 5, 2014 · 2 comments
Open

Indentation not work for JSX code #8

tmtxt opened this issue Jun 5, 2014 · 2 comments

Comments

@tmtxt
Copy link

tmtxt commented Jun 5, 2014

indentation for javascript code works well but for jsx code, all lines are at the same indentation level
screen shot 2014-06-05 at 8 38 23 pm

@swoopserver
Copy link

Yes, this doesn't seem to indent jsx at all. I see it's already been raised as an issue.

@victorquinn
Copy link

FYI for anyone else who comes across this issue, this is because this jsx-mode.el project is not made to edit Facebook's React JSX templates but rather this other compiled javascript language also called JSX. That having the same name as the React templates is entirely coincidental.

This is why the first commits to this repo were 4 years (pre-dating Facebook's JSX and React by years) and the last commit in this repo was back in 2013 (also pre-dating React).

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

No branches or pull requests

3 participants