Terminal on Windows — VS Code and PowerShell
Exact keyboard shortcuts and menu paths to open an integrated terminal in VS Code and the recommended Windows shells
Start Here — VS Code’s integrated terminal (recommended)
- Keyboard shortcuts (recommended):
- Toggle terminal (show/hide): Ctrl + ` (backtick)
- New terminal instance: Ctrl + Shift + `
- Command Palette: Ctrl + Shift + P → run
View: Toggle Terminal
- Menu paths:
- Terminal → New Terminal
- View → Terminal
- Explorer (right-click folder) → Open in Integrated Terminal
- Recommended shell: PowerShell (default). It runs
gradlew.batdirectly using. gradlew.bat.
Quick verification
- Open the integrated terminal (shortcut above).
- Type and run:
```
Expected: hello printed back.
Windows quick tips
- Use
. gradlew.bat testfrom the project root in PowerShell or Command Prompt. In Git Bash use./gradlew test. - If
gradlewis missing, ask the repo owner to provide wrapper files or rungradle wrapperlocally. The course uses Gradle 9.2.0 via the project wrapper. - If you see
bad interpretererrors in Git Bash, use the Windows wrapper (gradlew.bat) or convert line endings to LF withdos2unix gradlew.