Edit HTML inside JavaScript literals

It often happens that we need to edit HTML code inside JavaScript literals. And most of the time it is not something very pleasant, but not within Web IDE!

Here is a simple string…

But once we 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 do other things you do when you code HTML…

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

Try it and let us know what you think!

Develop with pleasure!
-JetBrains Team

This blog is permanently closed.

For up-to-date information please follow to corresponding WebStorm blog or PhpStorm blog.

 
This entry was posted in Cool Feature, PhpStorm, WebStorm and tagged , , , , . Bookmark the permalink.