Terminal, tasks and debugging
Run your code without leaving I-IDE.
Terminal
- Press Ctrl+` to open or hide the terminal.
- Press Ctrl+~ to open a new terminal tab.
Tasks
A task is a saved command, such as your test run.
- Open the Command Palette and run
zed: open project tasks, or create the file.zed/tasks.jsonin your project. - Add a task:
[ { "label": "Run tests", "command": "pytest" } ] - Press Cmd+Shift+R and choose your task.
- Press Cmd+Alt+R to run the last task again.
Debugging
- Press F4 to start a debug session and choose what to run.
- Press Cmd+Shift+D to open the debug panel.