copy a line and insert it above or below visual studio code code example
Example: VScode duplicate line
//------------ How to duplicate lines of code? --------------//
-> Windows:
Shift + Alt + Down and Shift + Alt + Up
-> Mac:
Shift + Option + Down and Shift + Option + Up
-> Linux:
Ctrl + Shift + Alt + Down and Ctrl + Shift + Alt + Up