rjsx-mode
rjsx-mode copied to clipboard
A JSX major mode for Emacs
What is the recommended way to fold jsx tags using rjsx-mode? I tried hide-show minor mode and [origami](https://github.com/gregsexton/origami.el) but they all messed up the tags. Thank you!
As mentioned in #85, eae8137 introduced a local override to `indent-tabs-mode` which (unexpectedly to the user) switches to spaces to indent. By simply removing that pair, indentation now works the...
I think this may be a bug. I am seeing the following behavior when writing jsx without parens and no semicolons: ```jsx const Component = Hello World const foo =...
for example ```js // const str = 'http://localhost:3000' ``` when i invoke `evilnc-comment-or-uncomment-lines`, it results in ```js const str = 'http:localhost:3000' ``` the `//` in `http://localhost:3000` get lost after change...
This appears to be because of switching to `js2-mode` from `js2-jsx-mode`, as when I recompile the package using `js2-jsx-mode` everything goes back to normal and my `editorconfig` settings are respected.
After the fix in https://github.com/felipeochoa/rjsx-mode/commit/68fe4c0e0277220e04f420e1968b9d251b4b75d1 it looks like tabs are replaced by (the appropriate number of) spaces. I can dig a little further, but this appeared after this fix (which...
When using rjsx-mode, I really love the electricity feature of the `>` key. I have found that, when inserting blank tags (a.k.a fragments), the electric `>` doesn't work, which makes...
There have been a several requests for this before (#70, #69, #63), and I've closed them because I felt them to be out of scope for `rjsx`. However, given this...
js2-jsx-mode (multiline): ![image](https://user-images.githubusercontent.com/4962134/46709869-40329a00-cc78-11e8-85ed-d376146a96da.png) rjsx-mode (multiline): ![image](https://user-images.githubusercontent.com/4962134/46709902-5fc9c280-cc78-11e8-970c-b356e33333e9.png) rjsx-mode (one line): ![image](https://user-images.githubusercontent.com/4962134/46709924-76701980-cc78-11e8-81ca-e10b5b5760de.png) vscode (multiline): ![image](https://user-images.githubusercontent.com/4962134/46709988-a5868b00-cc78-11e8-8fde-6bcf217ad51b.png)
When you press RET between `{}` it does the following (where `|` is the cursor): ``` {|} ``` ``` { [indent-level] | } ``` How can I get rjsx-mode to...