WSL2, Visual Studio Code, Windows 10, Ubuntu/Linux + more - Computer Stuff They Didn't Teach You #19

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น •

  • @haha-hk9tx
    @haha-hk9tx 3 ปีที่แล้ว +13

    Oooohh... looking forward to the upcoming video you mentioned! 🔥🤩

  • @MatsGF
    @MatsGF 2 ปีที่แล้ว

    RE-visited this. Of course i know WSL2 exists and that you have a linux distro under your fingertis for use.
    With your explanations its so obvious and clear what one can do with these tools.
    Thanks (again)!

  • @zkiyyeller3525
    @zkiyyeller3525 ปีที่แล้ว

    THANK YOU! this is so helpful! Indeed they don't teach you this. And you usually you are lost right out the gate. Much appreciated Scott

  • @alleswirdbecher
    @alleswirdbecher 3 ปีที่แล้ว +1

    Nice Video. Thanks for that. Nice to see that the barriers are somewhat lowered between Linux and Windows. I had never thought that something like this happens.

  • @habanerohoncho
    @habanerohoncho 3 ปีที่แล้ว +6

    Thank you for all the energy in the content you create. Yet again, you've put out another enlightening, informative, and engaging walk through. Brilliant!!

  • @Warwipf
    @Warwipf 3 ปีที่แล้ว +3

    There's something about you that makes me happy to see you succeed lol
    Super helpful to have someone older and more experienced dish out knowledge like that

  • @TechSnazzy
    @TechSnazzy 2 ปีที่แล้ว

    I just want to add to this discussion that I think your videos are so great. I follow you on twitter and tiktok as well and your videos are very inspirational. I am an IT consultant working full-time, mainly supporting Windows professionally but also work with GNU/Linux and macOS to a smaller degree. I find this topic of WSL very interesting. I love what Microsoft is doing with the focus of development and productivity.

  • @qzbnyv
    @qzbnyv 3 ปีที่แล้ว +5

    Pro-tip if doing development with WSL2. Don’t work on code through WSL2/VSCode that’s on your regular WIndows file system that you’re accessing via that /mnt/c/ mount point. At Scott mentions, you’ll pay a speed price. And I’ve experienced that price to be enough of a factor that it will break your VSCode language tooling. (specific examples I’m thinking of here include my PureScript tooling no longer able to hot-reload my changes)
    Anyway, just git clone your code to the WSL2 filesystem (e.g. /home/myusername/code/myproject and work on it there, remembering to make commits to your remote repository regularly)

  • @Makebuildmodify
    @Makebuildmodify 3 ปีที่แล้ว +9

    Thanks Scott! So glad I didn't set up a dual boot machine.

  • @AnandaSim
    @AnandaSim 3 ปีที่แล้ว +1

    Awesome amount of info, thanks Scott. One related point is that WSL needs a Hypervisor bottom layer working. It broke my Oracle VirtualBox vt-x and I was going round in circles until I figured out it was doing that.

    • @shanselman
      @shanselman  3 ปีที่แล้ว

      That should have been fixed since VirtualBox 6

    • @razvanmantu
      @razvanmantu 3 ปีที่แล้ว

      @@shanselman unfortunately it still isn't :(

  • @TheBoab400
    @TheBoab400 3 ปีที่แล้ว

    So yeah I have been circling around this for a while, and in fact today created my first app using the terminal in VS Code using WSL 2. And then I see this video which helped to reinforce where the lines are between the two. Windows key and R, followed by typing "\\wsl%" without the quotes shows the Network location of the Linux system which I have also found handy to know. Thanks for helping me on my path to building apps in Linux using Windows.

  • @FrequencyModulator
    @FrequencyModulator 3 ปีที่แล้ว

    Yes Mr. Hanselman. We find your videos extremely helpful! This is how we learn a lot of stuff fast! Thank you for taking the time to make this great content!

  • @sanketss84
    @sanketss84 3 ปีที่แล้ว

    This makes things clear. I was always confused how wsl2 worked and what was happening behind the scenes.

  • @zshn
    @zshn 3 ปีที่แล้ว

    Damn! Definitely didn't learn that anywhere. Loving this series. Please keep it coming.

  • @SaurabhKumar-us3ty
    @SaurabhKumar-us3ty 3 ปีที่แล้ว

    This video is a treasure!!

  • @zayedfaizee
    @zayedfaizee 3 ปีที่แล้ว

    Scott, I am big fan of you. I'm using WSL for quite some time. I really love it.

  • @afzalchishti9092
    @afzalchishti9092 3 ปีที่แล้ว

    This video is amazing, helped clear up many of the misconceptions I had! Thanks a ton, just recently found your channel and I'm absolutely loving the content!

  • @michaelwplde
    @michaelwplde 3 ปีที่แล้ว +3

    10:45 Sweet! Did not know that. Great to know and be aware of.

  • @chriswiebe3884
    @chriswiebe3884 3 ปีที่แล้ว

    Love this series. Would love to see a deeper dive into Visual Studio Code from your 'unique' perspective. Thank you

  • @iamdedlok
    @iamdedlok 3 ปีที่แล้ว

    Great stuff! Love the split terminal and settings changes! thanks Scott

  • @jdubeau007
    @jdubeau007 3 ปีที่แล้ว

    Yes, this is much better than the first I started with wsl2. I could not get Postgress running on wsl2.
    The network ip was a problem connecting the admin to Postgress server.
    I still like vps on linode. Last summer I did get Postgress on CentOS running.
    It is slow but vscode remotes works. Golang works great in vscode.

  • @bryanmc9174
    @bryanmc9174 3 ปีที่แล้ว

    really appreciate your videos, so handy for someone coming to computer science from a physical science background.

  • @eduardocucharro
    @eduardocucharro 3 ปีที่แล้ว

    This is crazy awesome! Thanks man!

  • @RoterFruchtZwerg
    @RoterFruchtZwerg 3 ปีที่แล้ว +18

    Thx, learned a lot :) What Tool are u using for the live zoom/arrows/highlighting during recording?

    • @bagorolin
      @bagorolin 3 ปีที่แล้ว +16

      Sysinternals ZoomIt

    • @tedvangageldonk7698
      @tedvangageldonk7698 3 ปีที่แล้ว

      @@bagorolin Just downloaded this but I see no way of having the choices to draw arrows or boxes after zooming. Do you know how?

  • @enzym2004
    @enzym2004 3 ปีที่แล้ว

    Great video, new knowledge entered the top floor today! :)

  • @echelecopao
    @echelecopao 3 ปีที่แล้ว

    Quick tip if you prefer to not drag windows between computer monitors. Press Shift+Win+(arrow key) and the selected window will switch to the monitor in the direction of the arrow.

  • @michaelwplde
    @michaelwplde 3 ปีที่แล้ว

    Beautiful stuff, sir, great job!

  • @CristiNeagu
    @CristiNeagu 3 ปีที่แล้ว +4

    For my needs, WSL pretty much removes any need for having a standalone Linux install. I get all the creature comforts of Windows and all the programs and games you can run, and i can have the Linux tools set. The way they integrated it is amazing, especially the way VS Code works. I don't even need to bother with silly programs like Vim. Really happy with it.

    • @kevyyar
      @kevyyar 3 ปีที่แล้ว

      Silly programs like VIM? Ohh boy oh boy

    • @CristiNeagu
      @CristiNeagu 3 ปีที่แล้ว

      @@kevyyar Yes. Silly programs like Vim.

  • @MIDB2323
    @MIDB2323 3 ปีที่แล้ว

    Just amazing - thank you

  • @acodersjourney
    @acodersjourney ปีที่แล้ว

    Thanks for the great content. Keep it up!

  • @Tospaa
    @Tospaa 3 ปีที่แล้ว +12

    "Oh no, I loved to go and mess around with json files!" said noone ever, I guess :D thanks!

  • @ArielErlijman
    @ArielErlijman 3 ปีที่แล้ว

    Very good as always. Thx!

  • @huseyinergin33
    @huseyinergin33 3 ปีที่แล้ว

    Very smooth. Nice.

  • @TyMoodley
    @TyMoodley 3 ปีที่แล้ว

    Great job on pronouncing Ubuntu correctly!

    • @shanselman
      @shanselman  3 ปีที่แล้ว +2

      umuntu ngumuntu ngabantu ;)

  • @Anto-mi5pn
    @Anto-mi5pn 3 ปีที่แล้ว

    I had a hard time bringing up the git branch on bash, but it's only a matter of adding a function and subsequently editing PS1 on your .bashrc, for anyone who's wondering.

  • @michaelwplde
    @michaelwplde 3 ปีที่แล้ว +2

    1:06 That'll be nice; the JSON isn't terrible, and I kind of like it, but settings are always welcome, yessir.

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว

      Therer are more advanced terminal emulators available on the Linux side. Like KDE Konsole.

  • @warrenhenning8064
    @warrenhenning8064 3 ปีที่แล้ว

    The amount of time it took to execute the `cd .\hanselman-core` command at 6:31 is excessive. There was a noticeable delay before it printed anything. Is that the terminal prompt being slow?

  • @mitchell2769
    @mitchell2769 3 ปีที่แล้ว

    Fantastic video! I’d love more on WSL2, like how to use Linux GUI applications on Windows through a server.

  • @techworld3043
    @techworld3043 2 ปีที่แล้ว

    love the video. clean explaination.

  • @reguitarded
    @reguitarded 3 ปีที่แล้ว +10

    «Python, Go, Ruby, Node, Go.... nuts» 😅

  • @workaccount7587
    @workaccount7587 3 ปีที่แล้ว

    @ 11:22 so the network drives that show up after running the corresponding shell, why is that happening?

  • @thevegaspoolru5334
    @thevegaspoolru5334 3 ปีที่แล้ว +1

    This video is great! Im a cs major and need some pieces of this video badly.

  • @joseph.micheal.romero
    @joseph.micheal.romero 3 ปีที่แล้ว

    Wow that was a great explanation, thanks

  • @TheDrewCrawford
    @TheDrewCrawford 3 ปีที่แล้ว +1

    Thanks as always for these videos they are very helpful. I've been using WSLv1 for a while and really wanted to use the newer WSLv2 but I ran into issues and had to switch back. I am running a MYSQL server on the windows side and VSCode on the WSL (Ubuntu) side and was never able to get them to talk to each other. Not sure if this is a solved issue yet or not (and I am no expert) but hopefully someday I'll get to play with the faster WSLv2 (or maybe v3 as some point).

    • @shanselman
      @shanselman  3 ปีที่แล้ว +2

      I use Tailscale to flatten the network and it works great www.hanselman.com/blog/using-tailscale-on-windows-to-network-more-easily-with-wsl2-and-visual-studio-code

    • @TheDrewCrawford
      @TheDrewCrawford 3 ปีที่แล้ว

      @@shanselman Holy hand grenade of Antioch, this actually worked! I sat on this info for weeks, too scared of borking my system with something I didn't fully understand, but I spent some of last night and much of this morning setting everything up and by George this is pretty darn cool. I had a lot of knowledge gaps to fill in (create remote users in MySQL, storing my code on in the wsl directory, not on the windows side and a few other gotchas) but your article got me pointed in the right direction and perseverance carried me the rest of the way. You ROCK Scott! Your video's are equal parts approachable, empowering and motivating. You've got me all fired up and with a little encouragement from my friends, I've decided to head back to school this summer ( at age 44) and get serious about coding. Keep up the great work and when you're enjoying your next taco earned from doing TH-cam, remember that you are making a huge impact on us learners out here in the cheap seats. Thanks for all you do.

  • @workaccount7587
    @workaccount7587 3 ปีที่แล้ว

    @ 7:10 I wish you would have went over the different drives and what they meant when you did the df command

  • @keithnicholas
    @keithnicholas 2 ปีที่แล้ว

    you should note that binding ctrl-t and ctrl-w is good if you only really spend time in the shell, but if you run terminal programs and they bind those keys then it could be quite annoying.

  • @Siance1992
    @Siance1992 3 ปีที่แล้ว

    Hello Scott, i wonder if you make a video about how to install VScode and make gdb work through the Windows11 linux subsystem.

  • @guyprovost
    @guyprovost 3 ปีที่แล้ว

    Great content, but I do I get that nifty "WSL2" in the "run with..." un Visual Studio 2019 ? Do I need to install a plugin in VS ? (I already have WSL2 and a Ubuntu 20.04 partition running)

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      Go into the Visual Studio installer, if you have VS2019 16.9, hit modify, and in the .NET Core workload, make sure "WSL2" is checked.

    • @guyprovost
      @guyprovost 3 ปีที่แล้ว

      @@shanselman Great, thanks! Works like a charm, really awesome stuff!

  • @daithi007
    @daithi007 3 ปีที่แล้ว +1

    Great content

  • @danielcir8675
    @danielcir8675 2 ปีที่แล้ว

    Hi Scott, I get this error '/usr/bin/env: ‘bash
    ’: No such file or directory' and I'm not sure how to fix it. Do you have any input? Much appreciated.

  • @arielspalter7425
    @arielspalter7425 3 ปีที่แล้ว

    Very helpful 👍 Thanks!

  • @jubjubfriend64
    @jubjubfriend64 3 ปีที่แล้ว

    oo excited about 1.7

  • @jacoso0404
    @jacoso0404 3 ปีที่แล้ว +13

    10/10, as an idea, can you explain gitflow at some point? i have started fidgeting with it but dont think i fully understand it, and some git guis? free if possible

    • @ioannisdermitzakis1299
      @ioannisdermitzakis1299 3 ปีที่แล้ว

      GitExtensions is a pretty nice gui for Windows. The GitLens VS Code plugin is also pretty nice (and cross platform)

  • @johnjbateman
    @johnjbateman 3 ปีที่แล้ว

    Great video!

  • @alexvanheerden5702
    @alexvanheerden5702 3 ปีที่แล้ว

    Hey Scott, which oh-my-posh theme are you using? Did you upgrade to v3? I had some issues with the glyphs when updating. Might be time for a refresher?

  • @johndunagan8928
    @johndunagan8928 3 ปีที่แล้ว

    I *love* these WSL demos and features. We pay for Tectia at work, and it's not half as good as this.

  • @jimcallahan448
    @jimcallahan448 3 ปีที่แล้ว

    Great video!
    I am starting to do Docker with WSL2 and it was very helpful because on the fly I couldn't figure out how to see full Linux file system from VS Code so I was resorting to creating a file with Linux touch command and then opening in VS Code. I will try File > Open menu option on VS Code (way too obvious). Thanks!
    If I set up a persistent Docker volume (say for PostgreSQL) how do I back it up?

  • @prototype8861
    @prototype8861 2 ปีที่แล้ว

    Is there any way to deploy AspNetCore apps to a linux environment, like nginx/kestrel like we do the "Publish to WebDeploy" in IIS? A video about it would be greatly appreciated. Thanks.

  • @jubjubfriend64
    @jubjubfriend64 3 ปีที่แล้ว

    Hi I was wondering whether you have worked out a way of fixing the issues with the built in xdg-open command when working within WSL? xdg-open can't open any argument you give it, so I've been using the third party command wsl-open instead... (although I just discovered wsl-open doesn't seem to work within VScode running on WSL lol). Thanks~

  • @buriedstpatrick2294
    @buriedstpatrick2294 3 ปีที่แล้ว +1

    Quick question not related to the content itself: How did you manage to center your labels in the taskbar? I've been looking for this for ages.

    • @natelawrence
      @natelawrence 3 ปีที่แล้ว +1

      Matt Fraser had the same question and someone mentioned Taskbar X and Scott hearted the reply.

    • @shanselman
      @shanselman  3 ปีที่แล้ว +2

      ​@@natelawrence Yes TaskbarX

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      Taskbar X

  • @LiqdPT
    @LiqdPT 3 ปีที่แล้ว +1

    Why are your icons centered on your Taskbar?

  • @reemadsouza310
    @reemadsouza310 3 ปีที่แล้ว

    In WSL, do we get only linux terminal? Is there a way to actually create a local html page, in Ubuntu desktop and load it. We are using Virtual Box right now.

  • @EkaraLibrae
    @EkaraLibrae 3 ปีที่แล้ว

    Cool stuff

  • @daraoladapo
    @daraoladapo 3 ปีที่แล้ว

    I love this video - especially the spit pane.
    Is that a new microphone?

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      Yes! A new mic

    • @daraoladapo
      @daraoladapo 3 ปีที่แล้ว

      @@shanselman , yaaaaaaaaaaas! Looks a SHURE Mic.

  • @albertocastro8830
    @albertocastro8830 3 ปีที่แล้ว

    Hi Scott,
    Thank you for the wonderful content you produce. I just discovered you channel, and I already love it.
    I'd like to suggest one thing: Could talk about networking on wsl2? I'm having a hard time trying to understanding it. I'm specially having a hard time trying to use it with an VPN.
    Thank you, again!

  • @workaccount7587
    @workaccount7587 3 ปีที่แล้ว

    what is the dotnet, you didnt explain that? Also so there are two versions of dotnet?

  • @shrikant9767
    @shrikant9767 3 ปีที่แล้ว

    can you please make a video on how to have multiple instances of same distro running under wsl2?

  • @ojtibi9906
    @ojtibi9906 3 ปีที่แล้ว

    I love your Powerline's shape, which fonts/colors did you use?

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      That's the Caskaydia Cove Regular Nerd Font and OhMyPosh v3

    • @ojtibi9906
      @ojtibi9906 3 ปีที่แล้ว

      @@shanselman super cool, thanks!

  • @karlkim
    @karlkim 3 ปีที่แล้ว +1

    I have been using WSL2 for everything now. The cool thing is that I can use one beefy gaming rig with one main OS (no more explicit VM or Linux is different partitions) as a dev machine.

  • @DanielLiuzzi
    @DanielLiuzzi 3 ปีที่แล้ว

    Hey Scott, what's the name of the extension you mention at 15:07? Great video, as always!

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      The WSL2 debugging extension for vs2019

    • @DanielLiuzzi
      @DanielLiuzzi 3 ปีที่แล้ว

      @@shanselman Thanks!

  • @ezazakhtar6339
    @ezazakhtar6339 3 ปีที่แล้ว

    Are you using taskbarX?

  • @workaccount7587
    @workaccount7587 3 ปีที่แล้ว

    I closed out my ubuntu shell which is my default and the network drive doesn't go away like the others.....is it something about it being the default that causes the network drive to always be persistent despite no shell running?

  • @SamiullahKhan
    @SamiullahKhan 3 ปีที่แล้ว

    A video on your day to day usage of two os and their utilities would be nice. For instance I would use linux ls to list windows files nicely as "wsl ls -l", I wanted to know stuff like that would make thing easier, thanks

  • @kluchtube7042
    @kluchtube7042 3 ปีที่แล้ว

    Hey, my mono compiled console applications run on wsl ubuntu but didn't take user inputs and i get error. How to avoid this?

  • @LordYendo
    @LordYendo 3 ปีที่แล้ว

    using 'code .' did open VS Code, but I didn't see the Server installing. Once I had installed the extension in VScode for "remote WSL", then it installed teh server and showed me being connected to Ubuntu

  • @lalibi
    @lalibi 3 ปีที่แล้ว

    Hi there Scott, how did you get oh-my-posh to show the SDK version? Is it a custom theme? Care to share it?

  • @michaelafcadio
    @michaelafcadio 3 ปีที่แล้ว

    Any tips on where to go to debug wsl2 networking issues when nothing seems to work? Searching for issues related to wss2 networking yields lots of people with problems but not much in solutions. wsl2 would seem super useful if only networking worked out of the box.

  • @BrianRussell
    @BrianRussell 3 ปีที่แล้ว

    Could do with a how-to on getting out of the hell that is wsl2 network connectivity when on a corporate VPN. Nothing seems to work...

  • @miguel4063
    @miguel4063 3 ปีที่แล้ว

    Great video!
    I have an off-topic question though, but if anybody knows, please let me know!
    How can you do zoom in/out, highlight stuff on the screen with arrows, squares, etc., like he does on his videos? What software can you use?
    Thank you!

    • @shanselman
      @shanselman  3 ปีที่แล้ว

      ZoomIt from sysinternals

  • @supersu6138
    @supersu6138 3 ปีที่แล้ว

    learned so much also make video about the new gui on wsl2
    or is there one already??

  • @JohnBortins
    @JohnBortins 3 ปีที่แล้ว

    This was fun! My brain cells are jumping up and down.

  • @brettbyrnes577
    @brettbyrnes577 3 ปีที่แล้ว

    Any idea why my WSL2 can’t sudo apt-get update?

  • @pratikchandraIC
    @pratikchandraIC 3 ปีที่แล้ว

    😳 how are those taskbar icons placed in the middle, instead of being left aligned?

  • @Rakesh6720
    @Rakesh6720 3 ปีที่แล้ว

    I'm loving wsl2. Great terminal. But I'm super struggling trying to access my Path variables from wsl. Any tips?

  • @Noceo
    @Noceo 3 ปีที่แล้ว

    I feel like I'm repeating my self - but you are an awesome teacher Scott. The only thing that isn't completely clear, is why you are using WSL (besides the fact that it's cool). What is it enabling you to do, that you couldn't do without it?

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      It lets me run Linux seamlessly and quickly on windows 10

    • @Noceo
      @Noceo 3 ปีที่แล้ว

      @@shanselman I get that part and it's definitely an easy way to run Linux alongside Windows. But what are you using Linux for that you cannot do in Windows (at least not as easily/cheap)?

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว

      It’s easier to do software development on Linux. All the important tools are no further than an apt-get-install away. Building is easier, debugging is easier, cross-development is easier.
      Also, Linux is a workstation OS, as opposed to (non-server) Windows, which is a desktop OS. Linux blurs the distinction between “desktop” and “server”. It doesn’t impose arbitrary limits, like only permitting 10 network shares, or having only 26 drive letters. Actually, it doesn’t even have drive letters.

  • @LukeAvedon
    @LukeAvedon 3 ปีที่แล้ว

    Oooooh 1.7 looks nice!

  • @grinps
    @grinps 3 ปีที่แล้ว

    Thanks Scott! May I know your vscode theme, please?

  • @valentynshapoval6154
    @valentynshapoval6154 3 ปีที่แล้ว +1

    Hi, i am using now a WSL with vs code and when I am git clone my project into a /home//Projects/ i need to set chmod -R 777 . to be able to edit files. This also adds all the files into a git staged and pull requests(or merge requests if u are gitlabber;) unreadable (all files are edited). Any advice how to fix it? Tnx

  • @enerseork694
    @enerseork694 3 ปีที่แล้ว

    thank you this is awsome

  • @michaelwplde
    @michaelwplde 3 ปีที่แล้ว +1

    No confusion about "that" per se, but the migration to WSL 2 can be non-trivial. Does not always go that smoothly in my experience.

  • @jdubeau007
    @jdubeau007 3 ปีที่แล้ว

    I have laptop ubuntu and vscode. It works good. I can watch netflicks and zoom meetings.
    It's not bad. It's not windows and it's not a mac. I have found when working with linux is to keep things simple. I pretty much use SSH for most think. I like the windows terminator and will be using it more.

  • @arghyadeepghosh9362
    @arghyadeepghosh9362 3 ปีที่แล้ว +1

    Hello sir, I really like your this video series - and I have been watching them.
    wanted to ask you this -- can you please help me in learning .net, as in where to start from and what are the key things to be aware off.
    Also please let me know if there are any good books or online resources around from which I can learn.
    I have experience of around 1.5 years in javascript and python - but I want to learn this .net ecosystem too!!
    Thanks for you help and concern in advance!!

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      Check out www.dot.net/videos

  • @tachmonite37
    @tachmonite37 3 ปีที่แล้ว

    Hi @scotthanselman awesome video. Can you please create a video about how to configure different localhost ports and how to have different WordPress containers in Docker using WSL2?

  • @juleswombat5309
    @juleswombat5309 3 ปีที่แล้ว

    Hi How do I set up an Anaconda qualified prompt in Windows Terminal preview ?
    The settings GUI suggests creating new Terminals would be easier than awkward json file editing, but the json file is more precise, as for Anaconda I use a rather elaborate:
    "commandline": \"%windir%\\System32\\cmd.exe \"/K\" C:\\ProgramData\\Anaconda3\\Scripts\\activate.bat C:\\ProgramData\\Anaconda3\"",
    But the Settings in Windows Terminal preview, these settings are not obvious, I guess I have to find the json settings file again, and copy across?

    • @shanselman
      @shanselman  3 ปีที่แล้ว

      I believe Ctrl-, still opens the Json file

  • @DrakenAlTi
    @DrakenAlTi 3 ปีที่แล้ว

    Scott, are you using WSL 1 or WSL2? I had an issue with WSL 1 and getting VS Code working, but after I update to WSL 2 it worked fine no issue. Might help someone out there running into the same issue.

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      I’m using WSL2 primarily

  • @jessusrdev
    @jessusrdev 3 ปีที่แล้ว

    Thank you 🙏

  • @cajogos
    @cajogos 3 ปีที่แล้ว

    The real question is, how do you position your open windows in the center of the taskbar? I can't find that setting on my machine!

    • @shanselman
      @shanselman  3 ปีที่แล้ว +1

      TaskbarX

    • @cajogos
      @cajogos 3 ปีที่แล้ว

      @@shanselman Thanks, I feel like this should be a Windows customisation option though. Pretty useful for wide-screen peeps.

  • @Explorest
    @Explorest 11 หลายเดือนก่อน

    At 11:43 , when you enter $ code . in the wsl , how does it know to install the server??? Was VSCode previously insalled on WSL? (if yes then why did it start installing the server instead of newing up a VSCode window??) --- if no then is "code" an alias to code.exe?

  • @Steve-Richter
    @Steve-Richter 3 ปีที่แล้ว +1

    Any plan for windows to switch to forward slash in the path name?

    • @CristiNeagu
      @CristiNeagu 3 ปีที่แล้ว

      Why would they? Both slashes work. Try it.

    • @shanselman
      @shanselman  3 ปีที่แล้ว

      unlikely as both work now

  • @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.