What is the shortcut key to open the terminal in vscode? Three ways to open the terminal in vscode

Method 1: A quick way to open a terminal

After opening VScode, left-click [Help] at the top of the window (marked with a red circle in the picture below).

Find [Keyboard shortcut reference] in the drop-down list (marked by the red box in the picture below)

Left mouse click [Keyboard shortcut reference],

will open in browserkeyboard-shortcuts-windows.pdf,

You can find the shortcut to open the terminal is ctrl+`, as shown in the red box in the figure below

Press the shortcut key ctrl+` to open the terminal sub-window, as shown in the figure below

Check your shortcut keys for opening the terminal

Method 2: The normal way of opening a terminal

After opening VScode, left-click [View] at the top of the window (marked by the red circle in the picture below).

Find [Terminal] in the drop-down list (marked by the red box in the picture below)

Click [Terminal] with the left mouse button to open the terminal sub-window, as shown in the figure below

Method 3: The magical way to open Terminal

In the lower left corner of the VScode window, you will usually see an X or ! marked in red circle as shown below! ,

Click any one with the left mouse button to open the [Question] sub-window.

Click the arrow in the figure below to find the [Terminal] sub-window.

Click [Terminal] with the mouse to open the terminal sub-window, as shown in the figure below

Precautions

[View]->[Terminal] at the top of the VScode window, you can also view the shortcut keys for opening the terminal

Extension: vscode terminal crashes

Open the terminal and it keeps crashing.

Enter in vscodeshift+ctrl+p enter shell

Select the first one, and then an osascript verification will appear. Enter the computer password and install the code command successfully.

Then restart vscode and the crash problem will be solved.

The above are the three ways to open the terminal in VScode. I hope you like it. Please continue to pay attention to Script Home.

related suggestion:

How to find errors in vscode terminal error prompts?

How to split and cancel splitting in Vscode terminal? How to operate Vscode terminal

How to disable the use of wsl configuration files in VS Code? Tips for VSCode terminal not displaying wsl distribution version

Guess you like

Origin blog.csdn.net/qq_38210427/article/details/129490244