DEV Community

Nguyễn Tấn Đạt
Nguyễn Tấn Đạt

Posted on

Mastering VS Code: Boost Your Productivity with Integrated Terminal Shortcuts on Window

Setup VS Code Terminal

  • Change default terminal:
    • Step 1: Show the Command Palette by pressing Ctrl + Shift + P or F1.
    • Step 2: Type Terminal: Select Default Profile
    • Step 3: Select your default terminal profile.

Summary of shortcuts for the Integrated Terminal

  • Integrated Terminal

    Hot Keys
    Ctrl + ` or Ctrl + J Show integrated terminal
    Ctrl + Shift + ` Create new terminal
    Ctrl + PgUp/PgDown Move to top/bottom terminal (Mutiple terminals)
    Ctrl + ↑/↓ Scroll up/down to command
    Ctrl + Home/End Go to the start/end of the terminal
    Shift + PgUp/PgDown Scroll page up/down
    $ cls Clears the terminal

Story

  • How do you open the terminal while coding?

    You can use Ctrl + J to go the terminal workspace.

  • And after that, how do you switch back to the editor to continue coding?

    Let’s press Ctrl + J again. Here we go, you can continue coding.

  • Working with multiple terminals

    If you have multi-terminals, how do you navigate between them? Use your mouse 😃 Yah! Of course, but if you don’t have a mouse or you don’t like to use touchpad like me. Use Ctrl + PgUp/PgDown ! This shortcut can be a great help.

References

Keyboard shortcuts for Window

Top comments (0)