Airflow Extension for Visual Studio Code
✅ Now works with Airflow 3.0

A Visual Studio Code extension to interact with Apache Airflow (v2.x & v3.x) directly from your editor.
Trigger DAGs, pause/unpause, explore DAG runs, view logs, browse code, and more—no browser required.
🔑 Features
DAG List
- Browse all available DAGs in a tree view.
- Filter DAGs by name, owner, active/paused status, tags
- Add your favorite DAGs to favorites to quickly access them
- Add multiple Airflow Servers and switch between them
DAG Actions
- Trigger a DAG with optional config and date
- Pause, or unpause any DAG with a single click
- View source code running on Airflow
DAG Run Explorer
- View past & current DAG runs
- View logs
- See task instances, execution durations, and statuses
📷 Screenshots
Info |
Run History |
 |
 |
⚙️ Configuration
After installing the extension, you need to configure the extension to connect to your Airflow Server.
- Click 🔌 Connect to Airflow Server at the top of the extension sidebar.
- Enter your Airflow Server API Url
- Exp Airflow 2: http://localhost:8080/api/v1
- Exp Airflow 3: http://localhost:8080/api/v2
- Enter your Airflow username
- Enter your Airflow password
You can also add multiple Airflow Servers to connect to.
- Use [+] button to add a new Airflow Server
- Use [-] button to remove an Airflow Server
- Use [🔌] to switch between servers
ℹ️ To be able to connect an Airflow Server, you should enable Airflow Rest Api.
You can take a look the link below on how to do it.
https://airflow.apache.org/docs/apache-airflow/stable/security/api.html
🪲 Bug & New Feature Report
If you have an issue or new feature request, please click link below to add a new issue.
https://github.com/necatiarslan/airflow-vscode-extension/issues/new
💻 Local Airflow via Astronomer
Use Astro provided by the team who build Airflow
https://docs.astronomer.io/astro/cli/overview
To spin up a local Airflow instance for testing:
brew install astro #install cli tool from homebrew
astro dev init #init the local env
astro dev start #start airflow as a docker container
#Then you can connect your local airflow using the extension.
#airflow 2 url http://localhost:8080/api/v1
#airflow 3 url http://localhost:8080/api/v2
#user/pass admin/admin
📝 Roadmap
Coming Soon
- Skip Try=0 Logs
- Run Selected Tasks
- Connections, Variables, XComs
- Hierarchical Tasks List
- Tasks graph view
- Tasks gantt chart view
- Prev Run, Date Filter
- Task View
- Instance Details
- Rendered Template
- Log
- X-Com
- Fix: not runned task duration
- TreeView Dag List Pagination (top 100 limit now)
- Treeview Dag hierarcy by owner, last run date, next run date, dag file folder structure, tags
- New DAG Wizard
- Run DAGs in your local (devcontainer)
- DAG Dry Run
- DAG Validation
- Run DAG Tests
- DAG Dependencies
- Preview DAG flow in your local
- Hide Dags & Show Hidden Dags Filter
- Add Survey and Bug Report to TreeView Other commands
- DagView Table Colors
- How To Enable Airflow API and Connect
- DAG.test() support
- Highligt DAG and Operator Keywords
- Server Health Check/Status
- Dag Code Checks
- Server Alias
If you find this extension useful, please consider:
📬 Stay in Touch
Enjoy! 🚀