VSCode Keyboard Shortcuts

adding comments - vscode keyboard shortcuts

1. Adding Comments 

For Windows users: CTRL + /

For MacOS users: Command K+ Command C

command K + command + U to remove comment

2. Toggle built-in terminal

For Windows users: CTRL + `

For MacOS users: CTRL + `

3. Toggle Sidebar

For Windows users: CTRL + B

For MacOS users: Command + B

4. Split Screen

For Windows users: CTRL + \

For MacOS users: Command + SHIFT + P

5. Rename Files and Folders

For Windows users: F2

For MacOS users: F2

6. Zoom in and out

For Windows users: CTRL + (+) to zoom in

and

CTRL + (-) to zoom out

For MacOS users: Command + (=) + (/)to zoom in

and

SHIFT + Command + (-) to zoom out

7. Close Open Files

For Windows users: CTRL + W

For MacOS users: Command + W

8. Soft Wrap

For Windows users: ALT + Z

For MacOS users: Option + Z

9. Multiple cursors

For Windows users: ALT + right click on the mouse

For MacOS users: SHIFT + Option + |

10. Move Between words

For Windows users: CTRL + right/left arrow

For MacOS users: Option + right/left arrow

or

CTRL + right/left arrow

11. Select a Line

For Windows users: CTRL + L

or

shift + home/end

For MacOS users: Command + L

12. Select Word

For Windows users: CTRL + D

For MacOS users: Command+ D

13. Find and Replace

For Windows users: CTRL + SHIFT+ L

For MacOS users: Command + F (To find)

Option + Command + F (To replace)

14. Duplicate a Line

For Windows users: ALT + SHIFT + UP/DOWN arrows

For MacOS users: Command + SHIFT + D

Do you like to read more educational content? Read our blogs at Cloudastra Technologies or contact us for business enquiry at Cloudastra Contact Us.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top