Skip to content

Commit a7a34e9

Browse files
committed
Update screenshots and notes
1 parent 71e7886 commit a7a34e9

File tree

4 files changed

+24
-18
lines changed

4 files changed

+24
-18
lines changed

docs/terminal/basics.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ VS Code's terminal has additional functionality called shell integration that tr
1919

2020
![The integrated terminal can run commands such as mkdir and git just like a standalone terminal. VS Code's terminal has additional functionality called shell integration that tracks where commands are run with decorations on the left of a command and in the scrollbar.](images/basics/integrated-terminal.png)
2121

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
2324
2425
## Terminal shells
2526

@@ -52,7 +53,8 @@ Place multiple terminals side-by-side and create a group by splitting a terminal
5253
* `kbstyle(Alt)` and click on a tab, the **+** button, or the single tab on the terminal panel.
5354
* Trigger the `kb(workbench.action.terminal.split)` command.
5455

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).
5658
5759
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)`.
5860

@@ -74,13 +76,11 @@ The `setting(terminal.integrated.defaultLocation)` setting can change the defaul
7476

7577
## Terminals in new windows
7678

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:
7880

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-
![Screenshot showing a terminal in its own separate window](images/basics/terminal-new-window.png)
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
8484

8585
## Navigating the buffer
8686

@@ -128,7 +128,8 @@ The **Open Detected Link** command (`kb(workbench.action.terminal.openDetectedLi
128128

129129
![Open Detected Link opens a quick pick with all links in the viewport, split into categories](images/basics/link-open-detected.png)
130130

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).
132133
133134
### Extensions handling links
134135

@@ -192,13 +193,15 @@ The integrated terminal has find functionality that can be triggered with `kb(wo
192193

193194
![Find in the terminal will highlight all text matching the query](images/basics/terminal-find.png)
194195

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).
196198
197199
## Run selected text
198200

199201
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.
200202

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`.
202205
203206
## Maximizing the terminal
204207

@@ -352,6 +355,7 @@ Use the dedicated `@terminal` chat participant in ask mode in the Chat view:
352355
3. Ask about terminal commands, shell scripting, or explaining terminal output
353356

354357
Examples:
358+
355359
* `@terminal list the 5 largest files in this workspace`
356360
* `@terminal /explain top shell command`
357361
* `@terminal how to grep for patterns recursively`
@@ -474,7 +478,7 @@ See the [GPU acceleration](/docs/terminal/appearance.md#gpu-acceleration) sectio
474478

475479
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:
476480

477-
```
481+
```bash
478482
set enable-bracketed-paste off
479483
```
480484

Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading

docs/terminal/profiles.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ Other arguments supported in profiles include:
6565
* `icon`: An icon ID to use for the profile.
6666
* `color`: A theme color ID to style the icon.
6767

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)
6970
7071
The **default profile** can be defined manually with the `terminal.integrated.defaultProfile.*` settings. This should be set to the name of an existing profile:
7172

@@ -81,7 +82,8 @@ The **default profile** can be defined manually with the `terminal.integrated.de
8182
}
8283
```
8384

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.
8587
8688
## Removing built-in profiles
8789

0 commit comments

Comments
 (0)