Top 25 VS Code Shortcuts You should know about that will help you to boost your productivity
Tags: vscode, productivity, programming, webdev
Published: 2023-04-02 09:57:23

Hello developers, Welcome to my new blog. In this blog, I will share the top 25 VS Code shortcuts that every developer should know about, which will help you to boost your productivity. 

Visual Studio Code (VS Code) is a worldwide one of the most popular code editors, used by developers for web development. I believe that one of the best things that can make the difference is the extensive keyboard shortcuts of vs code, which will help developers be more efficient and work faster, ultimately increasing their productivity. Here is a list of the top 25 shortcuts that I am also using and found very useful.

## Shortcuts:
**1. Show Command Palette**
**--** Press Ctrl + Shift + P or F1 to show the command palette.

**2. Search Files**
**--** Use Ctrl + P to search files.

**3. New Window Open**
**--** Press Ctrl + Shift + N to open the new window.

**4. Close Window**
**--** Use Ctrl + Shift + W to close the window.

**5. Toggle Sidebar**
**--** Press Ctrl + B to toggle the sidebar.

**6. Comment or Uncomment**
**--** Use Ctrl + / to comment or uncomment the line or block of code.

**7. Multi Cursor**
**--** Press Alt + Click to insert multi-cursor.

**8. Copy / Paste**
**--** Use Ctrl + C / Ctrl + V to copy and paste.

**9. Cut**
**--** Press Ctrl + X to use cut.

**10. Undo / Redo**
**--** Use Ctrl + Z / Ctrl + Y to undo or redo.

**11. Find / Replace**
**--** Press Ctrl + F / Ctrl + H to find the dialog box and you will able to find and replace the duplicate one or with existed line of code in your file.

**12. Select Line**
**--** Use Ctrl + L or F1 to select the current line.

**13. Toggle Word Wrap**
**--** Press Alt + Z to toggle the word wrap.

**14. Open Extensions**
**--** Use Ctrl + Shift + X to go to the extensions.

**15. Open Debugger**
**--** Press Ctrl + Shift + D to go to the debugger.

**16. Toggle Terminal**
**--** Press Ctrl + ~ to toggle the integrated terminal.

**17. Create New Terminal**
**--** Use Ctrl + Shift + ~  to create the new integrated terminal.

**18. Duplicate Line or Selection**
**--** First, select and then Press Ctrl + Shift + Up/Down Arrow to duplicate the line or selection

**19. Keyboard shortcuts editor**
**--** Use Ctrl + K + S to open the keyboard shortcuts editor.

**20. Close the Current Tab / Reopen the last closed tab**
**--** Press Ctrl + W to close the current tab.
Press Ctrl + Shift + T to reopen the last closed tab.

**21. Code Format**
**--** Use Shift + Alt + F to format the code.

**22. Bold / Italic / Underline**
**--** Press Ctrl + B for Bold, Ctrl + I for Italic and Ctrl + U for Underline.

**23. Toggle Full Screen**
**--** Use Ctrl + K + Shift + F or F11 to toggle the full-screen mode.

**24. Rename**
**--** First Select and then Press F2 to rename the file.

**25. Open Emoji File**
**--** Use Window + .(dot) to open the emoji file and you will use it in your production.

## Conclusion
In this blog I covered top 25 common, uncommon but useful vs code shortcuts that will help to boost your productivity. 

I hope this blog is helpful for you and you will use this shortcuts and take advantage to achieve your coding goal. If you think it is helpful for you then do **Like, Comments and Share** with your colleagues and friends.

Thank you for reading.

Do **Follow** me here on **dev.to**