Using Language Injections

Swiftly inject a piece of code in a different language.

Want to inject a code fragment in a language different from the main language of the file, like an HTML string in a JavaScript file? Press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), select Inject Language or Reference, and then pick a language from the list.


Related Resources

Navigation Bar - All the power!
Navigation Bar - All the power!
The Navigation Bar can do much more than you think!
Create Arrow Functions in One Click
Create Arrow Functions in One Click
WebStorm can help you add arrow functions to your code.
Show CSS Color Preview
Show CSS Color Preview
How to display a CSS color in the background in WebStorm.