windows-subsystem-for-linux

Couldn't start client Rust Language Server

点点圈 提交于 2020-06-14 06:43:31
问题 I'm trying to figure out how to use rustc & cargo from my WSL. I use VS Code and Rust (rls) plugin and can compile my code but there is a problem with RLS: Couldn't start client Rust Language Server Rustup not available. Install from https://www.rustup.rs/ How i can solve this problem? 回答1: I had this problem as well with WSL and Visual Studio Code. The problem seems to stem from the fact that the Rust Language Server needs to find rustup in your path. We both probably followed the same path

How to use WSL as default terminal in WebStorm or any other JetBrains' products?

蹲街弑〆低调 提交于 2020-06-09 08:24:14
问题 I am currently using Windows 10 with WSL Ubuntu 18.04 installed. I am trying to use WSL as the default terminal in WebStorm however, I am able to use the bash from WSL but the default directory would not be set to the default project location. Does anyone know how to set this up correctly? 回答1: After a bit of search on google found a solution to my question. First figure out the default wsl with the command: C:\Windows\System32\wslconfig /list Windows Subsystem for Linux Distributions: Ubuntu

How to use WSL as default terminal in WebStorm or any other JetBrains' products?

夙愿已清 提交于 2020-06-09 08:23:30
问题 I am currently using Windows 10 with WSL Ubuntu 18.04 installed. I am trying to use WSL as the default terminal in WebStorm however, I am able to use the bash from WSL but the default directory would not be set to the default project location. Does anyone know how to set this up correctly? 回答1: After a bit of search on google found a solution to my question. First figure out the default wsl with the command: C:\Windows\System32\wslconfig /list Windows Subsystem for Linux Distributions: Ubuntu

How to acess Linux bash terminal with new Windows Terminal

本小妞迷上赌 提交于 2020-05-28 08:35:46
问题 A few months ago Microsoft announced a new open source terminal they are working on: As you can see in the Trailer of the video you can access an Ubuntu/Debian etc bash terminal from the Windows terminal. My question is how do you access this? Do you have to enable the Linux sub-system for Windows and then download the distro form the Windows store? If so something I'd also like to ask is what are the downsides of enabling such a thing? Does it close down your boot time? Does it risk borking

VSCode: use WSL Git instead of Git for Windows

会有一股神秘感。 提交于 2020-05-25 09:27:23
问题 I would like to use WSL (Bash on Windows) Git with VSCode instead of Git for Windows to avoid multiple Git installations. I created a simple bat script to emulate git.exe comportment by redirecting git commands in WSL. It works nicely in CMD but not with VSCode. Also, WSL is my default terminal in VSCode. VSCode settings.json : { "git.path": "D:\\tools\\git.bat", "terminal.integrated.shell.windows": "C:\\Windows\\Sysnative\\bash.exe" } and git.bat : @echo off bash -c 'git %*' Any idea to make

VSCode: use WSL Git instead of Git for Windows

佐手、 提交于 2020-05-25 09:27:07
问题 I would like to use WSL (Bash on Windows) Git with VSCode instead of Git for Windows to avoid multiple Git installations. I created a simple bat script to emulate git.exe comportment by redirecting git commands in WSL. It works nicely in CMD but not with VSCode. Also, WSL is my default terminal in VSCode. VSCode settings.json : { "git.path": "D:\\tools\\git.bat", "terminal.integrated.shell.windows": "C:\\Windows\\Sysnative\\bash.exe" } and git.bat : @echo off bash -c 'git %*' Any idea to make

Windows Subsystem for Linux not recognizing JAVA_HOME Environmental Variable

空扰寡人 提交于 2020-05-10 08:47:14
问题 I'm trying to get WSL to recognize my windows installed environmental variable of JAVA_HOME. I attached of what I have in my bashrc and what I have in my windows environmental variables along with outputs from cmd and bash. What's at the end of my bashrc: export JAVA_HOME="/mnt/d/Program Files/Java/jdk-11.0.1" export PATH="/mnt/d/Program Files/Java/jdk-11.0.1/bin:$PATH" CMD INPUT/OUTPUT: C:\Users\jaall>javac --version javac 11.0.1 BASH INPUT/OUTPUT: myubuntu_name@DESKTOP-LUK3BII:~$ javac -

Windows Subsystem for Linux not recognizing JAVA_HOME Environmental Variable

主宰稳场 提交于 2020-05-10 08:46:10
问题 I'm trying to get WSL to recognize my windows installed environmental variable of JAVA_HOME. I attached of what I have in my bashrc and what I have in my windows environmental variables along with outputs from cmd and bash. What's at the end of my bashrc: export JAVA_HOME="/mnt/d/Program Files/Java/jdk-11.0.1" export PATH="/mnt/d/Program Files/Java/jdk-11.0.1/bin:$PATH" CMD INPUT/OUTPUT: C:\Users\jaall>javac --version javac 11.0.1 BASH INPUT/OUTPUT: myubuntu_name@DESKTOP-LUK3BII:~$ javac -

Windows Subsystem for Linux not recognizing JAVA_HOME Environmental Variable

妖精的绣舞 提交于 2020-05-10 08:46:09
问题 I'm trying to get WSL to recognize my windows installed environmental variable of JAVA_HOME. I attached of what I have in my bashrc and what I have in my windows environmental variables along with outputs from cmd and bash. What's at the end of my bashrc: export JAVA_HOME="/mnt/d/Program Files/Java/jdk-11.0.1" export PATH="/mnt/d/Program Files/Java/jdk-11.0.1/bin:$PATH" CMD INPUT/OUTPUT: C:\Users\jaall>javac --version javac 11.0.1 BASH INPUT/OUTPUT: myubuntu_name@DESKTOP-LUK3BII:~$ javac -

Windows Subsystem for Linux not recognizing JAVA_HOME Environmental Variable

拟墨画扇 提交于 2020-05-10 08:46:05
问题 I'm trying to get WSL to recognize my windows installed environmental variable of JAVA_HOME. I attached of what I have in my bashrc and what I have in my windows environmental variables along with outputs from cmd and bash. What's at the end of my bashrc: export JAVA_HOME="/mnt/d/Program Files/Java/jdk-11.0.1" export PATH="/mnt/d/Program Files/Java/jdk-11.0.1/bin:$PATH" CMD INPUT/OUTPUT: C:\Users\jaall>javac --version javac 11.0.1 BASH INPUT/OUTPUT: myubuntu_name@DESKTOP-LUK3BII:~$ javac -