Windows 10: Doubt: Installing VS Code from WSL!!

Discus and support Doubt: Installing VS Code from WSL!! in Windows 10 Ask Insider to solve the problem; If I install VS code via WSL and execute it, Which Keyboard (Ubuntu VS code or Windows VS Code) shortcuts will work in it ? submitted by... Discussion in 'Windows 10 Ask Insider' started by /u/Kesavaraja, Apr 7, 2020.

  1. Doubt: Installing VS Code from WSL!!


    If I install VS code via WSL and execute it, Which Keyboard (Ubuntu VS code or Windows VS Code) shortcuts will work in it ?

    submitted by /u/Kesavaraja
    [link] [comments]

    :)
     
    /u/Kesavaraja, Apr 7, 2020
    #1

  2. WSL in windows Store

    Actually, this is a consumer-oriented forum for general Windows 10 questions.

    As WSL concerns mostly developers and Enterprise, I suggest asking there.
     
    Sumit Dhiman2, Apr 7, 2020
    #2
  3. Recovering Debian WSL after restting PC

    Hi stéphane70,

    Thank you for sharing a few details about yout concern. To get your Debian WSL
    installed on your Windows 10, I recommend the steps suggested on this article. You might also want to check the
    distros available after the installation for your reference. If you still get the same error
    message, I advise that you perform a clean boot first and seek if the issue still re-occurs. There might
    be a program that is preventing your WSL to be installed. However, if you still get the same issue, then the next steps is
    creating a new user profile and naming it as
    test. By doing so, we'd be able to eliminate the possibility of a certain setting hindering the installation.

    I'll be waiting for the results and your response to assist you for there.
     
    ErwinJames San, Apr 7, 2020
    #3
  4. Doubt: Installing VS Code from WSL!!

    Resolving WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2?

    # Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2

    I am currently on the `Windows 10 Pro Insider Preview build 18922.rs_prerelease`, and am trying to install a Linux distribution to access via Windows Subsystem for Linux (2). I have tried this for both the Ubuntu and Debian distros and have encountered the
    same error in each.

    I have successfully downloaded both distros from the Microsoft store, but when I try to first "run" the Ubuntu or Debian "app" the respective console comes up and prints the following text:

    Code:
    Installing, this may take a few minutes...
    
    WslRegisterDistribution failed with error: 0x80370102
    
    Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
    
    Press any key to continue...
    Pressing a key at this point automatically exits the console.
    ---

    ## Additional information:

    - Using the `wsl -l` command shows no installed distros.

    - I do have Hypervisor installed and running `bcdedit` does show that `hypervisorlaunchtype` is set to `Auto` in the `Windows Boot Loader` section.

    - I did previously have Ubuntu installed and working under WSL 1 before switching to the Windows Insider Program Fast Ring and gaining access to WSL 2, but I was encountering another issue when trying to have it use WSL 2. After
    trying to use the command `wsl --set-version Ubuntu 2` I was met with a request to "Enable the Virtual Machine Platform". I had already run `Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform` prior, according to the official microsoft
    tutorial here Install WSL 2, but for good measure I did it again and got the same error, and Ubuntu was still on version 1 (I haven't explicitly mentioned it but I was restarting/shutting down when requested/suggested
    by windows and tutorials, so I don't believe me not restarting is a cause). In hopes to find a workaround, I ended up uninstalling Ubuntu and hoping I could reinstall it and have it obey the default defined by the `wsl --set-default-version 2` command (suffice
    it to say, this did not go as I'd hoped).

    - This might be an unrelated issue, but when I initially attempted reinstalling Ubuntu, the Microsoft store had a bit of a fit and could not complete the download- encountering an 'unknown error'. I did a restart, tried again, and
    got the same error, but then after telling it to 'try again' it succeeded. I had no such issues installing Debian from the store.

    ---

    ## Suggestions Welcome

    I've searched for a bit and can't find mention of this error code in particular anywhere else.

    In addition, is there anywhere I can look up/access these error codes in any sort of documentation? Ideally so I can make a better informed work-around attempt before bothering you all on here.

    All help is appreciated!
     
    SamuelLudwig, Apr 7, 2020
    #4
Thema:

Doubt: Installing VS Code from WSL!!

Loading...
  1. Doubt: Installing VS Code from WSL!! - Similar Threads - Doubt Installing Code

  2. How to install Python in VS Code

    in Windows 10 News
    How to install Python in VS Code: [IMG]Python is one of the easiest programming languages and at the same time, it’s futuristic as it is used in Machine Learning, Data analysis, and more. One of the best IDEs for Python or programming in general is Microsoft’s Visual Studio Code. In this post, we will see how...
  3. Vs Code

    in Windows 10 Software and Apps
    Vs Code: I have problem with Vs code inline autocomplete suggestion whenever i create a new c++ file in vs code the inline autocomplete suggestion stops working until restarted the vs code this very annoying I have attached 2 images 1. before restart i have created a new c++ file 2....
  4. Vs Code

    in Windows 10 Drivers and Hardware
    Vs Code: I have problem with Vs code inline autocomplete suggestion whenever i create a new c++ file in vs code the inline autocomplete suggestion stops working until restarted the vs code this very annoying I have attached 2 images 1. before restart i have created a new c++ file 2....
  5. WSL Remote Connection Issue with VS Code

    in Windows 10 Gaming
    WSL Remote Connection Issue with VS Code: I am trying to use WSL on VS Code, but upon opening VS Code, I keep getting the following error messages:Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code:...
  6. WSL Remote Connection Issue with VS Code

    in Windows 10 Software and Apps
    WSL Remote Connection Issue with VS Code: I am trying to use WSL on VS Code, but upon opening VS Code, I keep getting the following error messages:Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code:...
  7. VS code

    in Windows 10 Gaming
    VS code: how can i fix this? ive already tried solutions from comments from other people who were having the same problem, but it just doesn't work for me. I would really appreciate any help. Im also doing "C" as in the coding language....
  8. VS code

    in Windows 10 Software and Apps
    VS code: how can i fix this? ive already tried solutions from comments from other people who were having the same problem, but it just doesn't work for me. I would really appreciate any help. Im also doing "C" as in the coding language....
  9. VS Code

    in AntiVirus, Firewalls and System Security
    VS Code: Hi,Someone reported to me that when visiting my site it was blocked by Norton LifeLock as a "known malicious site". As the sole developer, I know this false.I ran ImunifyAV on the server to investigate. The result showed files that were installed by VS Code were detected as...
  10. Can't install VS Code

    in Windows 10 Software and Apps
    Can't install VS Code: I can't install VS Code on my PC. While installing, it shows a message, "Setup was unable to create the directory 'C:\Users\User_Name', Error 5: Access is denied." PS: I changed my username couple of days ago....