You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/terminal/basics.md
+16-12Lines changed: 16 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ VS Code's terminal has additional functionality called shell integration that tr
19
19
20
20

21
21
22
-
> **Note:** If you prefer to work outside VS Code, open an external terminal with the `kb(workbench.action.terminal.openNativeConsole)` keyboard shortcut
22
+
> [!NOTE]
23
+
> If you prefer to work outside VS Code, open an external terminal with the `kb(workbench.action.terminal.openNativeConsole)` keyboard shortcut
23
24
24
25
## Terminal shells
25
26
@@ -52,7 +53,8 @@ Place multiple terminals side-by-side and create a group by splitting a terminal
52
53
*`kbstyle(Alt)` and click on a tab, the **+** button, or the single tab on the terminal panel.
53
54
* Trigger the `kb(workbench.action.terminal.split)` command.
54
55
55
-
> **Tip:** The working directory for the new terminal depends on the `setting(terminal.integrated.splitCwd)`[setting](/docs/configure/settings.md).
56
+
> [!TIP]
57
+
> The working directory for the new terminal depends on the `setting(terminal.integrated.splitCwd)`[setting](/docs/configure/settings.md).
56
58
57
59
Navigate between terminals in a group by focusing the previous pane, `kb(workbench.action.terminal.focusPreviousPane)`, or the next pane, `kb(workbench.action.terminal.focusNextPane)`.
58
60
@@ -74,13 +76,11 @@ The `setting(terminal.integrated.defaultLocation)` setting can change the defaul
74
76
75
77
## Terminals in new windows
76
78
77
-
Opening a terminal in a new window is possible in a few different ways:
79
+
Opening a terminal in a new VS Code window is possible in a few different ways:
78
80
79
-
1. Use `kb(workbench.action.terminal.newInNewWindow)`
80
-
2. Right-click the terminal tab if you have multiple terminals, or left-click the tab if you only have a single terminal opened. Then select **Move Terminal to New Window**
81
-
3. Select the **New Terminal Window** entry that's available in several different menus
82
-
83
-

81
+
* Use `kb(workbench.action.terminal.newInNewWindow)`
82
+
* Right-click the terminal tab if you have multiple terminals, or left-click the tab if you only have a single terminal opened. Then select **Move Terminal to New Window**
83
+
* Select the **New Terminal Window** entry that's available in several different menus
84
84
85
85
## Navigating the buffer
86
86
@@ -128,7 +128,8 @@ The **Open Detected Link** command (`kb(workbench.action.terminal.openDetectedLi
128
128
129
129

130
130
131
-
> **Tip:** If link verification causes performance issues, like in high latency remote environments, disable it via the `setting(terminal.integrated.enableFileLinks)`[setting](/docs/configure/settings.md).
131
+
> [!TIP]
132
+
> If link verification causes performance issues, like in high latency remote environments, disable it via the `setting(terminal.integrated.enableFileLinks)`[setting](/docs/configure/settings.md).
132
133
133
134
### Extensions handling links
134
135
@@ -192,13 +193,15 @@ The integrated terminal has find functionality that can be triggered with `kb(wo
192
193
193
194

194
195
195
-
> **Tip:**`kbstyle(Ctrl+F)` can be sent to the shell by removing the `workbench.action.terminal.focusFind` command from [commands to skip shell](/docs/terminal/advanced.md#keyboard-shortcuts-and-the-shell).
196
+
> [!TIP]
197
+
> `kbstyle(Ctrl+F)` can be sent to the shell by removing the `workbench.action.terminal.focusFind` command from [commands to skip shell](/docs/terminal/advanced.md#keyboard-shortcuts-and-the-shell).
196
198
197
199
## Run selected text
198
200
199
201
To use the `runSelectedText` command, select text in an editor and run the command **Terminal: Run Selected Text in Active Terminal** via the **Command Palette** (`kb(workbench.action.showCommands)`), the terminal will attempt to run the selected text. If no text is selected in the active editor, the entire line that the cursor is on will run in the terminal.
200
202
201
-
>**Tip:** Also run the active file using the command `workbench.action.terminal.runActiveFile`.
203
+
> [!TIP]
204
+
> Also run the active file using the command `workbench.action.terminal.runActiveFile`.
202
205
203
206
## Maximizing the terminal
204
207
@@ -352,6 +355,7 @@ Use the dedicated `@terminal` chat participant in ask mode in the Chat view:
352
355
3. Ask about terminal commands, shell scripting, or explaining terminal output
353
356
354
357
Examples:
358
+
355
359
*`@terminal list the 5 largest files in this workspace`
356
360
*`@terminal /explain top shell command`
357
361
*`@terminal how to grep for patterns recursively`
@@ -474,7 +478,7 @@ See the [GPU acceleration](/docs/terminal/appearance.md#gpu-acceleration) sectio
474
478
475
479
This normally means that the program/shell running inside the terminal requested to turn on "bracketed paste mode" but something doesn't support it properly. To work around this, you could run `printf "\e[?2004l"` to disable it for that session or add the following to your `~/.inputrc` file:
Copy file name to clipboardExpand all lines: docs/terminal/profiles.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,8 @@ Other arguments supported in profiles include:
65
65
*`icon`: An icon ID to use for the profile.
66
66
*`color`: A theme color ID to style the icon.
67
67
68
-
>**Tip:** Path, args, and env all support [resolving variables](https://code.visualstudio.com/docs/reference/variables-reference)
68
+
> [!TIP]
69
+
> Path, args, and env all support [resolving variables](https://code.visualstudio.com/docs/reference/variables-reference)
69
70
70
71
The **default profile** can be defined manually with the `terminal.integrated.defaultProfile.*` settings. This should be set to the name of an existing profile:
71
72
@@ -81,7 +82,8 @@ The **default profile** can be defined manually with the `terminal.integrated.de
81
82
}
82
83
```
83
84
84
-
>**Tip:** The integrated terminal shell is running with the permissions of VS Code. If you need to run a shell command with elevated (administrator) or different permissions, use platform utilities such as `runas.exe` within a terminal.
85
+
> [!TIP]
86
+
> The integrated terminal shell is running with the permissions of VS Code. If you need to run a shell command with elevated (administrator) or different permissions, use platform utilities such as `runas.exe` within a terminal.
0 commit comments