IntelliJ IDEA JSX code style


I have a JSX file with two-space indents, but IntelliJ keeps adding four-space indents. Changing Settings>Editor>Code Style for Javascript, HTML, and "other file types" does not seem to affect this. myPennMedicine Portal

How can I change the code style for JSX files?

1 comment
Comment actions Permalink

Could you provide screenshots of the settings and of the code fragment formatted incorrectly? Also, is there .editorconfig file in the project?


Please sign in to leave a comment.