Replace with Template String

How to replace a regular string with a template literal in WebStorm.

Want to use a template string (aka template literal) instead of a regular string? Press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) and select Replace with template string.


Related Resources

Add New Dependencies
WebStorm can help you add a new dependency.
Add console.log Faster
Use Postfix Completion to quickly add console.log.
Create Arrow Functions in One Click
WebStorm can help you add arrow functions to your code.