Skip to content

WSL VSCode setup #18

Description

@smangham

There are a few prerequisites for running VSCode in WSL:

  • Install the WSL extension
  • Windows 10
    • Open the WSL terminal, browse to the directory, use code . to open it
  • Windows 11
  • Open the code directory
  • Install the Python extension (even if you already have - WSL needs a special one)
    Symptoms of it going wrong are:
  • When you open a python file, and click on the interpreter in the bottom-left corner, it doesn't give you a dropdown showing your virtual environment in that directory

Given the number of people opting for WSL we should add this into the materials.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions