![]() 42604 files and directories currently installed.) Selecting previously unselected package code. To do so, type ‘’turn windows features on or off’’ on the search bar. Enable Windows Subsystem for Linuxīefore we can install a Linux distribution, we need to enable WSL. In my opinion, the simplest option is MobaXterm which is the tool used in this article. If we google ‘’x server for windows’’, many options show up. However, Bash of WSL does not support X Server. The X server is the graphic environment we want to run. With this technology, it becomes possible to run VS Code with WSL. The remote X client application makes a connection to the local X server and provides the graphic Run X client application on the remote Linux. ![]() Therefore, to use our local machine, e.g., a laptop, to connect to a remote Linux machine, we need: X Window System uses a client-server model to enable remote computing with graphic interface. In the Linux world, X Window System plays the role which provides the basic framework for building GUI environments. In addition to Windows 10 and VS Code, we need X Server and ![]() Although the title of this article is ‘’ Using Visual Studio Code with Windows Subsystemįor Linux’’, the method described here also works for other GUI This article provides a step-by-step instruction to configure WSL so weĬan run VS Code on Linux with WSL. It is even possible we run Linux applications with GUI with We are also able to run Bash shell scripts and Linux applications on it. With WSL, we can install most major Linux distributions from the Windows Store. The WSL enables the ability for a developer to run Linux environment on Windows 10 without the overhead of a virtual machine. With the combination of these two, it opens a new way for a software developer writing code. Since Microsoft stated embracing open source, two great features, More detail of VS Code Remote can be found at VS Code Remote Development or my another post Setting Up Python Development Environments with Visual Studio Code. Although the method described in this article to use VS Code with WSL is still valid, VS Code now provides a better way to use VS Code with a remote machine, a folder in a container, and, of course, WSL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |