stillbond.blogg.se

Visual studio code comment shortcut
Visual studio code comment shortcut










visual studio code comment shortcut

Hold CTRl and press LEFT RIGHT arrows to select the whole word from your code. Hold the UP key and press UP and DOWN arrows to move the selected rows of code up or down. This will not add or remove extra rows wherever it is necessary. This will be useful in correcting the spacing. Hold CTRL and press K then D to format your code. After this rename the variable and press ENTER to apply changes.

visual studio code comment shortcut

Place your cursor within variable which you want to rename, hold CTRL and press R then R(Do it fast :P). If you don't have any selected code then the row which holds the cursor will get uncommented. Hold CTRL key and then press K and then U to uncomment the selected rows of code. If you don't have any selected code then the row which holds the cursor will get commented.

visual studio code comment shortcut

Hold CTRL key and then press K and then C (Do it fast :P) to comment the selected rows of code. Hold CTRL key and press V to paste the copied code from the previous operation. Select the piece of code and hold CTRL key and then press C to copy the piece of code, or just place the cursor on a given row of code without selecting anything and perform the same thing to copy the line of code. So, let's get started with the shortcut keys, In this article, we are going to learn different types of shortcut keys available in the Visual Studio along with important points to remember for quality code.












Visual studio code comment shortcut