Working with Multiple Projects in VS Code

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

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

  • @ewhorlow
    @ewhorlow Год назад +1

    Thanks for the video, I tried many but this was THE one which was best and went into detail about Projects and not just folders. Cheers!

  • @Essencella05
    @Essencella05 2 года назад +12

    I'm a little confused still about workspaces. If you're working on multiple unrelated projects, would you open them each in separate workspaces? Ie. does a workspace contain one project, or can you put your multiple projects into one workspace?

    • @josephbennett7162
      @josephbennett7162 Год назад +7

      Right, didn't really define what a workspace is and why to use it. Only how to use it.

    • @Schlafen-wx1kx
      @Schlafen-wx1kx Год назад +4

      Yep, im still left confused about when to use a workspace, and the difference between a workspace and a project.

    • @twenty-fifth420
      @twenty-fifth420 Год назад

      ⁠@@Schlafen-wx1kxI like to see of software as Lego unironically. You are building software, either small or big. It can be a few lines or a few thousand lines of code. Now, eventually you realize large open source projects like Blender, Godot and the Linux Kernel are MILLIONS of lines of code.
      For reference, the largest and longest book series I am vaguely familiar with and read some of is Wheel of Time and that has around 4.5 million words. This is a fantasy series with books ranging from 200k words to as much as just under 500k words.
      Workspaces are what you use when you have multiple folders of projects, usually all big and you need a place to ‘work’ in. You may not need workspaces if you are just writing code for fun, and you may not even them if you professionally code for a small company with maybe at most a few ten thousand lines of code.
      But you will definitely need them when you are working with multiple projects and with large code bases.
      Also to answer the OP, if you are working on ‘unrelated’ projects, even bringing them into a workspace as a sort of test sandbox is not a bad idea. You can one or multiple projects and folders in workspace.

    • @lbombonat
      @lbombonat Месяц назад

      Vscode should have a list of workspaces, than you put different projects in differents workspaces, people in microsoft are dumb

  • @alexhardao2742
    @alexhardao2742 Год назад +1

    Thank you!
    Excellent tips and explanation

  • @sifr-in
    @sifr-in Год назад +2

    i was brought here for searching "how to debug multiple projects" 🙂
    any-ways, got some info here 😊

  • @elmerjohnston8118
    @elmerjohnston8118 15 дней назад

    In MS Word, I can have 6 different files open at the Same time, and I can just click on anyone I want to work on, I can work on them all at the same time, Can I have 3 or 4 copies of VS code open at once so I can work on different projects at once?

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

    Super cool video! Keep this up! Super helpful as well!

  • @MrPeter1719
    @MrPeter1719 Год назад

    You save my day. Thanks a lot!!

  • @jfry3276
    @jfry3276 Год назад +2

    Hey, thanks for the video.
    What I'm actually looking for, when working with multiple projects, is something that keeps track of tabs/files state and switches between it as I jump between projects.
    Let's say, on project 1, I'm currently working on the app.js, index.js and style.css files but I'm done with it (for now) and wanna switch to project 2 in which I'm currently working on some JS elements files (nav.js, modal.js etc.).
    Instead of closing and opening each project's relevant files, each time, I'd like to be able to keep the opened tabs/files preset for each project. So, when I switch, the relevant tabs/files for each project will close/open automatically.
    Is that doable?
    Thanks

    • @HammyHavoc
      @HammyHavoc 11 месяцев назад +1

      Wondering this too.

    • @MoritzWeller
      @MoritzWeller Месяц назад +1

      Wondering the same. According to ChatGPT, each workspace apparently remembers the open files, so using different workspaces for that might work.

    • @jfry3276
      @jfry3276 Месяц назад +1

      @@MoritzWeller Yeah, workspaces is the way to go. Using it for quite a while now and it does the job well.

  • @mohanamahamohana2272
    @mohanamahamohana2272 Год назад

    Hi.. is it possible to use new workspace project ( for example I m creating button in work space project) , I want to run this button in existing project? How can I run this?

  • @mohanish3169
    @mohanish3169 Месяц назад

    Thank you!

  • @byGDur
    @byGDur Год назад

    Thank you, this helps a lot!

  • @jensenraylight8011
    @jensenraylight8011 Год назад

    by the way, what the extension for the icon in the video?
    the default icon is dangerously indistinguishable in the sea of files, there are no divider, no distinct icon, nothing.
    i can easily screw myself editing a wrong file in a wrong workspace

    • @DigitalOcean
      @DigitalOcean  Год назад +1

      The icon theme I'm using is Material Icon Theme marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme

    • @jensenraylight8011
      @jensenraylight8011 Год назад

      @@DigitalOcean thanks, it'll be helpful for me

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

    Very helpful, thanks a lot! 🙌

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

    Did you try putting it in rice?

  • @Sawta
    @Sawta Год назад

    It might be helpful if you could give a real world example of when you would need to have, say, 3 or 4 different git hub repos open for a single workspace. I get that a website uses APIs, so that would be a need for 2, but it's hard to imagine of a case where it would be helpful to use workspace regularly.

  • @rizzwan-42069
    @rizzwan-42069 2 года назад

    super helpful video thanks

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

    I create a new account digital ocean, then after paying 5 dollar paypal my account got locked. What can i do ?

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

      We’re sorry you’ve had trouble with your account! Please submit a support ticket at www.digitalocean.com/support and a member of our Customer Support team will reach out to help!

  • @tamantomau
    @tamantomau Год назад

    so helpful🤗🤗

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

    V useful, thanks!

  • @ShakkeerTheCoder
    @ShakkeerTheCoder 10 месяцев назад

    Thanks bro

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

    Nice one.

  • @xXMacedoniaNXx
    @xXMacedoniaNXx Год назад

    Nice!

  • @GernotPokorny
    @GernotPokorny Год назад

    This is like I explain what a workspace is by saying it is a workspace.

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

    Having to create a workspace in order to code on different projects is annoying. I sure wish Microsoft hadn't killed Atom. The very second rumors hit the street that GitHub was selling out to Microsoft, Atom was dead.

    • @RickyC0626
      @RickyC0626 Год назад +1

      There's an open-source fork of Atom called Pulsar.

    • @DemPilafian
      @DemPilafian Год назад +1

      @@RickyC0626 Thanks -- just gave it a star. Pulsar looks a lot more alive and promising than Atom-Community.

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

    🤓 ¡Great!

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

    Bagus👍

  • @fixerrorofficial
    @fixerrorofficial 9 месяцев назад

    I found another similar detailed video based on vscode workspaces : ruclips.net/video/u5839hP0Zko/видео.html

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

    software.

  • @lbombonat
    @lbombonat Месяц назад

    Vscode should have a list of workspaces, than you put different projects in differents workspaces, people in microsoft are dumb

  • @aleksszukovskis2074
    @aleksszukovskis2074 Год назад

    apple. dislike.