Duplicating Lines

Sometimes we need to duplicate a line of code. Learn how to do that with one keyboard shortcut.

Use ⌘D (macOS) / Ctrl+D (Windows/Linux) to quickly duplicate a line or block in WebStorm.


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.