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

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.