Windows Subsystem for Linux (WSL) in VS Code
Kayla Cinnamon walks through a WSL development workflow in VS Code, from connecting to a Linux distribution to running project tasks and launching the editor from Ubuntu.
Connecting a WSL project to VS Code
The walkthrough follows the process of connecting VS Code to a WSL distribution and opening a project folder in the Linux environment. It then covers running Linux commands in VS Code’s integrated terminal and installing extensions in WSL.
Walkthrough chapters
- 00:00 — Introduction to WSL in VS Code
- 00:27 — Opening the project and WSL walkthrough
- 01:21 — Connecting to a WSL distribution
- 02:04 — Opening a Linux project folder in WSL
- 02:44 — Running Linux commands in the integrated terminal
- 03:21 — Installing extensions in WSL
- 04:43 — Generating
tasks.jsonwith GitHub Copilot - 05:52 — Running project tasks in VS Code
- 06:36 — Opening a project directly from an Ubuntu terminal
- 07:38 — Wrap-up
Project tasks and terminal-based access
The demonstration also shows how GitHub Copilot can help generate a tasks.json file, followed by running project tasks within VS Code. The final workflow starts from an Ubuntu terminal and opens the project directly in the editor, providing another entry point for working with WSL projects.