Closed kuslapuu closed 4 years ago
Found a fix, but not the real source of the problem. It seems Atom keeps switching between two plugins for the same files - language-babel and language-javascript-jsx. Disabling the latter plugin seems to solve the issue for now.
Since these plugins are probably not meant to be used at the same time, I will close this issue as resulting from improper use.
I have trouble using language-babel in Atom in JSX files. Each new line takes the indentation to parent level. So I have to use Tab key to manually align the lines. Furthermore, each grammar check does the same thing. So when I define attributes for a div or some other tag, each space will trigger the line to jump back to the wrong indentation even if I have manually fixed it.
When I turn off language-babel plugin, the problem disappears.
Default settings for the Atom plugin. Let me know, if you need other technical info.