Visual Studio Code & WSL - ScottKirvan/WSL GitHub Wiki

To run Visual Studio Code in the WSL environment (so that it can access and use your linux gcc, make, tex, etc),...

  1. Install Visual Studio Code in Windows as you normally would - don't bother trying to install it natively in WSL
  2. Start up VS Code, and add the Remoe Development extension pack.
  3. After restarting VS Code, click on the green arrows/icon in the lower left corner of the window and select Remote-WSL:New Window to start a VS Code instance in WSL.

Very fucking cool. Nicely done.

Twitter: @code