When I write jsx in following format in default Javascript Editor, slash and grater than signs are interpreted as string. And when I press enter at the end Eclipse automatically adds " + "
I am using Eclipse 4.3.0.
How to fix this?

Disclaimer I'm the author of typescript.java
I suggest you that you install typescript.java 1.1.0 which provides a JSX support inside Eclipse. It provides a JSX Editor with syntax coloration for JSX (and JavaScript):

Validation, Hyperlink, Hover, Completion is done by using TypeScript tsserver:

It seems like there is not yet eclipse plug-ins to properly handle JSX syntax in eclipse.
There are plenty other IDEs that does support JSX:
Sublime Text
Webstorm
Vim
Atom
IntelliJ IDEA
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With