Terminal
Raxorin Studio has a terminal in the bottom panel for when you want to use the command line without leaving the IDE:
running cargo with special options, using Git by hand, or running your program with arguments.
Opening it
Section titled “Opening it”View → Terminal, or Ctrl+` (the backtick key, left of the 1 on most keyboards; on macOS it’s also Ctrl). The same shortcut closes it.
It opens with your system’s shell:
| System | Shell |
|---|---|
| macOS | Yours (usually zsh), with your profile (~/.zshrc) |
| Linux | Yours (usually bash), with your profile |
| Windows | PowerShell |
It starts in the open project’s folder, and cargo and the Rust tools work even if they aren’t in your PATH.
Several terminals
Section titled “Several terminals”- + opens another terminal; each one has its tab (
1: zsh,2: zsh…). - ✕ on the tab closes it (and ends whatever is running in it).
- The button on the right clears the screen.
- Terminals stay open even if you switch tabs or hide the panel (Ctrl/⌘+J).
- If you type
exit, the terminal is marked as finished: press a key to close it.
Keyboard
Section titled “Keyboard”While the cursor is in the terminal, Ctrl+letter goes to the shell, not to the IDE:
| Key | In the shell |
|---|---|
| Ctrl+C | Stop the running program |
| Ctrl+R | Search the command history |
| Ctrl+L | Clear the screen |
| Ctrl+A / Ctrl+E | Go to the start / end of the line (macOS and Linux) |
| ↑ / ↓ | Previous commands |
Shortcuts with ⌘ on macOS and the F keys (F5, F9…) still belong to the IDE. Links that appear in the terminal open in the browser with a click.
Useful commands
Section titled “Useful commands”cargo run -- my_text.txt # run passing arguments to the programcargo run --release # run optimizedcargo test name # only the tests whose name contains "name"cargo doc --open # documentation for your project and its packages, in the browsercargo tree # which packages your project uses, and which ones they usecargo update # update Cargo.lock to the latest compatible versionsrustup update # update Rust