WSL and VS Code: code on Linux on a Windows laptop 💻

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

Комментарии • 28

  • @desyfer1709
    @desyfer1709 3 года назад +13

    A year ago, I tried WSL because I have fairly low RAM (so VM's a bit.... :/) and dual booting kinda cornuted my windows once, so no go there. Ngl I love WSL WAYYYYY MORE. It's amazing. Thank you WSL team :)

  • @yiqiangjizhang
    @yiqiangjizhang 3 года назад +4

    wsl is the goat, I absolute love it!

  • @robosergTV
    @robosergTV 2 года назад

    I have an issue with WSL. I installed anaconda, it activates the (base) environment. But if I create a new env and try to change to it with "activate test" it stays at (base) and doesnt change the env

  • @legen_dary42
    @legen_dary42 3 года назад +2

    Unfortunately, when your open the terminal in VSCode, it's still PowerShell. Navigating multiple drives in WSL to find your repos is also a pain.

  • @UmerNalla
    @UmerNalla 3 года назад +2

    Thanks - that was great.
    Can we also look forward to a session on Visual Studio 2019 / 2022 with Linux C++ development with WSL?

  • @jonatasalmeida4196
    @jonatasalmeida4196 2 года назад

    Why use WSL instead coding on Windows? There is any benefits? I tried here using Intellij + Java openjdk on WSL2, but the performance is ugly.

  • @AeroPR
    @AeroPR 3 года назад +1

    Really nice demo

  • @samkleiner5193
    @samkleiner5193 3 года назад

    Is the code used in this available anywhere?

  • @zs3671
    @zs3671 3 года назад

    I open vs code from an Ubuntu terminal but my file paths are \\wsl$\Ununtu\home\.
    I expected to see Linux paths. Is there a config step I’m missing or is this strictly a windows 11 thing?

    • @jackmahoney5826
      @jackmahoney5826 2 года назад

      Try getting the remote - wsl extension from the extension marketplace and following the guide in the description that starts with aka . ms

  • @efrainm4649
    @efrainm4649 3 года назад

    When is WSLg comming?

  • @mambo7668
    @mambo7668 3 года назад

    does this work with pytorch gpu? or just with tensorflow-directml ?

    • @Duesi2024
      @Duesi2024 3 года назад

      Should work as far as i read, but i'm stil figuring out how to connect wsl with visual studio...

  • @ugonnaosuji2077
    @ugonnaosuji2077 2 года назад

    When I run the "code ." command, I get a command 'code' not found error.

    • @Dre_Mylove
      @Dre_Mylove 2 года назад

      Do you already have vs code installed?

  • @dozorengel
    @dozorengel 3 года назад

    What are real benefits using dev containers instead of normal development in wsl?

    • @craigloewen8379
      @craigloewen8379 3 года назад +5

      Isolation of the environment (In this demo I didn't have tensorflow installed on my Linux distro) and ability to run the code anywhere (I threw the container up to Azure and did my heavy training there) are the main ones for me!

  • @VladyslavHladchenko
    @VladyslavHladchenko 3 года назад

    nice, waiting for the w10 update :D

  • @ratneshtronix
    @ratneshtronix 3 года назад

    Someone please help. How did he opened multiple prompts in same window @ 2:57 ?

    • @poojanpandya8864
      @poojanpandya8864 2 года назад +1

      He actually used windows terminal app. It is available on Microsoft store.

    • @ratneshtronix
      @ratneshtronix 2 года назад +1

      @@poojanpandya8864 Thank you

  • @creproductions102
    @creproductions102 11 месяцев назад +2

    Windows 11 build 22136

  • @BR-lx7py
    @BR-lx7py 3 года назад

    Why is there an id_rsa (private key file) in your directory?

    • @craigloewen8379
      @craigloewen8379 3 года назад +1

      Good catch! That was me messing around with transferring files to and from a VM. Luckily this project directory (and its private key) aren't uploaded anywhere :)

    • @BR-lx7py
      @BR-lx7py 3 года назад

      @@craigloewen8379 lol. I did see a "U" next to it so all good :)

  • @echoptic775
    @echoptic775 3 года назад +1

    Why not just use linux?