Babashka Tasks
Run your Babashka tasks from VS-Code!
This extension registers a task provider that finds
Babashka tasks in bb.edn
files in your workspace.
Requires Babashka (bb
executable) to be installed on your system
to run the tasks.
Usage
See the Official VS-Code Tasks Guide for a complete
description.
Auto-detect tasks
babashka-tasks
automatically scans your project for bb.edn
files and
provides configured tasks to VS-Code. Use the Run Task command to see
all available tasks:
You can configure Babashka tasks in .vscode/tasks.json
, using the babashka
type and the name of the task as the task
property.
Here we configure bb build
as the default build task that can be executed
using a keyboard shortcut (Cmd+Shift+B
on Mac):
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "babashka",
"task": "build",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
License
Copyright 2022 Ferdinand Beyer.
Distributed under the MIT License.