I'm using WebStorm IDE since I have a student license and one of the things I really like is the shortcuts !
We are writting a lot along the day and we are most of the time making the same actions over and over again.
This is why I searched for a faster way to do them. 🚅
1- Multiline editing
alt
+ left-click
this let you edit everywhere in you code.

1.2 Multiline with text search
you can select next text occurence with alt
+ j
and then edit multiple line in once. (useful if you forget a porperty)

⚠ Do not consider this as a rename tool.
2- Duplicate a line
this one seems useless but it's a real time saver.

I sometime use it to 'multi line edit afterwards'.
3- Moving things around
You can also move you lines up and down with ctrl
+ shift
+ (up or down) so you are not forced to copy/cut.

this also works really great with JSON...
4- Clipboard History
did you knew that Webstorm keep in history the content you have copied/cuted ?
Well now you know ! you can choose what to past with ctrl
+ shift
+ v
.
5- Growing selection
when selecting something you can grow the current selection to the next level with ctrl
+ w
to lower the selection hit ctrl
+ shift
+ w
.

Conclusion
This is one of the reasons I love WebStorm. let me know if you have other useful shortcuts. and if you learned some of them ! 🎉
Top comments (0)