Edit HTML injected inside JavaScript literals

It often happens that we need to edit HTML code inside JavaScript literals. And most of the time it is something involving trial-and-error and not too pleasant in result. But not within RubyMine!

Here is a simple string…

But once you add '<' inside it, it becomes a superstring more than just a string and if you hit Ctrl+Space, you can see the difference. Yes, you get all HTML code assistance inside a JS literal!

You can of course complete tag attributes…

and you have anything else you’d expect…

…including code completion, quick documentation, and navigation for HTML, CSS and even JavaScript inside JavaScript literals.

Using RubyMine IDE already?   Following @rubymine on Twitter?   Tried the latest Early Access build?

Develop with pleasure!
JetBrains Team

image description

Discover more