skip to Main Content

When I create a new terminal in visual studio code I don’t have an option to hide/show the terminal, I only have the option to close it.

What I want is a shortcut to hide the terminal (show the code only) and a shortcut to show it (show the terminal only)

Here’s an image to be more clear:

Terminal

3

Answers


  1. You could use "exit" to close the terminal and "ctrl-`" to open the terminal.

    Edit: use "ctrl-j" to show and hide the terminal.

    Login or Signup to reply.
  2. if you want to view the code then you can take your curso on the top of the and then slide down the terminal tab by pressing left button and scrolling the mouse down or you can do Ctrl+ to completely hide the terminal. click on the "+" sign on the top right corner you can open multiple terminals at the same time using it and can access any of the terminal at a time. the shortcut for it is "Ctrl+Shift+"

    Login or Signup to reply.
  3. Open command palette: ctrl+shift+p and enter the follwing commands

    • to close panel: View: Close Panel

    • to maximize panel: View: Toggle Maximized Panel

    If something else than the terminal is showing in the panel, you can use Terminal: Focus Terminal to bring the terminal back in focus.

    Or simply drag the top border of the panel with the mouse.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search