Skip to content

Commit 99881fb

Browse files
committed
docs: add terminal project switching
1 parent db037a8 commit 99881fb

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

‎docs/05-Workspace/05-terminal.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,27 @@ Selecting a shell sets it as the default and opens a new terminal with it right
6363

6464
> Only shells installed on your system are shown. Any other compatible shell on your system (for example, PowerShell Core on Windows) also appears in the list.
6565
66+
## Switching Projects
67+
68+
When you switch projects, open terminals stay in their current folders.
69+
Running commands keep going.
70+
71+
The banner gives you two choices:
72+
73+
- **Keep Terminals** hides the banner and keeps your sessions.
74+
- **Restart All in This Project** restarts all tabs in the new project
75+
folder. This stops running commands and clears the output.
76+
77+
![Terminal project banner](../images/terminal/project-switch-banner.png)
78+
79+
If a command is still running, Phoenix Code asks for confirmation before restarting.
80+
81+
To keep your sessions and open a terminal in the new project, click **+ Terminal** shown on the bottom of the right sidebar.
82+
83+
<VideoPlayer
84+
src="https://docs-images.phcode.dev/videos/terminal/project-switching.mp4"
85+
/>
86+
6687
## Keyboard Shortcuts
6788

6889
| Action | Shortcut |
48.1 KB
Loading

0 commit comments

Comments
 (0)