![]() ![]() Instead, this can be done by installing a formatting extension onto your VS Code application. VS Code doesn’t have a native command that formats your document on save. Save changes by selecting Save from the File menu or by pressing “Ctrl + S”.Press “Ctrl + [“ to decrease the indent.Press “Ctrl + ]” to increase the indentation.Move your cursor to the beginning of the line in which you want to change the indention.Save your file by choosing it from the File menu in the upper left corner of the window or by pressing “Ctrl + S”. ![]() To move the line upwards, press the up arrow.Move your cursor to the beginning of the line that you wish to move.If this happens, just close the clicking the “x” button or pressing Esc. Note that if you press “Ctrl + F” without first pressing “Ctrl + K” you’ll open up the Find Menu. Save the changes either by choosing “Save” on the File menu in the upper left corner or by pressing “Ctrl + S”.On the file with the lines of code that you wish to format, select the lines by highlighting them with your mouse.
0 Comments
Leave a Reply. |