.vscode folder and tell VS Code how to execute build tasks for your project.
Creating Your First Build Task
You can configure VS Code to run external tasks via.vscode/tasks.json. FlowDeck supports all build operations to be configured this way.
1
Open Command Palette
Press
⌘⇧B to open the build task selector2
Select default task
Choose the task you want to run by default
3
Configuration created
FlowDeck will create a
.vscode/tasks.json with the selected configuration4
Customize as needed
Add multiple tasks, assign different shortcuts, or run specific ones by default
Basic Configuration
Here’s a basictasks.json configuration for FlowDeck:
Available Task Actions
FlowDeck supports the following actions in tasks:| Action | Description |
|---|---|
build | Build the project |
build-and-run | Build and run the project |
run | Run without building |
clean | Clean build artifacts |
test | Run tests |
build-for-testing | Build test targets |
Multiple Build Configurations
You can define multiple build tasks for different scenarios:Problem Matchers
FlowDeck includes several problem matchers to parse build output:$flowdeck-watch- Monitors for build system changes$flowdeck-xcodebuild-default- Parses standard Xcode build errors$flowdeck-xcbeautify-errors- Enhanced error formatting$flowdeck-xcbeautify-warnings- Enhanced warning formatting
Task Groups
You can organize tasks into groups for easier access:Keyboard Shortcuts
After creating tasks, you can assign keyboard shortcuts:- Open Keyboard Shortcuts (
⌘K ⌘S) - Search for “Tasks: Run Task”
- Add a keybinding for your specific task
Tips and Best Practices
- Default Task - Set one task as default for quick access with
⌘⇧B - Presentation Options - Control how output is displayed
- Problem Matchers - Use appropriate matchers for better error detection
- Task Dependencies - Chain tasks using the
dependsOnproperty
For more information about VS Code tasks, see the official VS Code documentation.
