The main purpose of this server is to install and host extensions in WSL. Once installed, the VS Code of your Windows machine/desktop will communicate with VS Code server on the Linux side. This means VS Code is setting up a server inside WSL for the first time. You will see a notification “Starting VS Code in WSL…”. Click on the first option “ Remote-WSL: New Window” for the default distro or select the “ Remote-WSL: New Window using Distro” for a specific distro. Once you install the extension, you will see a Remote Development extension icon at the bottom left corner of the VS Code editor.Ĭlick on the icon, you will get a pop up with a list of options. Click on the first search result, and click on Install. This will bring up the Extensions view in the Left/Right side of the Code Editor. If you have never installed an extension before, press CNTRL+SHIFT+X button simultaneously using your keyboard. Open VS code, and install the Remote Development extension pack. You can use Linux-based utilities, and run apps, and much more without leaving your Windows machine. The Remote Development extension pack lets you use WSL as your Linux-based full-time development environment without leaving VS Code. Install the Remote Development Extension Pack This way you can open a folder in WSL by just using the code command. Make sure you check the “Add to PATH” option. During installing the VS Code, it will ask you to “Select Additional Tasks”. This is same as installing a software to your Windows PC. Download Visual Studio Code for Windowsĭownload Visual Studio Code for Windows. I have written a step-by-step guide to get you started using the WSL. Install the Windows Subsystem for Linux (WSL) You can run Git commands from its UI itself. VS Code supports Git for version control.Read more about VS Code integrated terminal. We can create multiple terminals at different locations easily. It has a built-in terminal to create a smooth workflow between VS Code and our command line.
0 Comments
Leave a Reply. |