Get started using Visual Studio Code with Windows Subsystem for Linux

Nasheayahu 40 Reputation points
2023-12-05T03:05:08.2733333+00:00

In walking through Get started using Visual Studio Code with Windows Subsystem for Linux I had already installed VS Code and did not,

When prompted to Select Additional Tasks during installation, be sure to check the Add to PATH option so you can easily open a folder in WSL using the code command.

what are the steps needed to accomplish this now after the fact?

Windows for business Windows Client for IT Pros User experience Other
{count} votes

1 answer

Sort by: Most helpful
  1. Roshan Lal J 0 Reputation points Student Ambassador
    2023-12-05T05:14:22.61+00:00

    Hi , you can add the vs code directory to path by using the windows environment variables.

    Search for Edit environment variables and open the path variable. Add vs code directory to the path folder.For example, on Windows, VS Code is installed under AppData\Local\Programs\Microsoft VS Code\bin.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.