Questions tagged [rjsx-mode]
2 questions
5
votes
1 answer
Commenting out some JSX code section with Emacs 27 js-mode
When I comment out (M-x comment-dwim) some section of JSX code with the new js-mode in Emacs 27, it gives:
//
//
//
//
Is there any way to make js-mode behave like it…

cjauvin
- 594
- 4
- 15
1
vote
1 answer
How to automatically use rjsx-mode instead of js-jsx-mode
When I work with JSX files Emacs automatically switches to js-jsx-mode and acts sluggishly. When I switch it to rjsx-mode it works much faster. So the idea is to override one mode with another, so that rjsx-mode is used instead of js-jsx-mode.
What…

Navidot
- 732
- 5
- 12