Workflow: Visual Studio Code

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • This video examines the code editor: Visual Studio Code.
    🎥Next video: • Workflow: Shell
    🎥Playlist: • 2018 Workflow: Editor,...
    🔗 Visual Studio Code: code.visualstu...
    🚂 Website: thecodingtrain....
    💖 Patreon: / codingtrain
    🛒 Store: www.designbyhu...
    📚 Books: www.amazon.com...
    🎥 Coding Challenges: • Coding Challenges
    🎥 Beginners: • Start learning here!
    📄 Code of Conduct: github.com/Cod...

КОМЕНТАРІ • 157

  • @willyd3307
    @willyd3307 6 років тому +97

    "Blow people's mind !! Use 3 space tabs woooww !!!!"
    Crack me up so hard 🤣🤣

    • @azenkwed
      @azenkwed 5 років тому

      i use 7 space tabs, beat that!

    • @Brahvim
      @Brahvim 3 роки тому

      I am hoping to use 5 xD

  • @jsmiles176
    @jsmiles176 6 років тому +1

    Just started today as a web dev. We’re using vs code so this was super informative and coincidental!

  • @ericrovell1970
    @ericrovell1970 6 років тому +47

    I have been using VS Code after that live stream and I am in love😋 sorry, Atom, but we should break up!
    Thank you for a nice tutorial!

    • @angrysocialjusticewarrior
      @angrysocialjusticewarrior 6 років тому +1

      Moved from Windows OS toLinux, was great. Tried VS Code o linux, ran into .net shortcomings really quick. Ended up being forced to go back to Windows just for Visual Studio and the full .net experience.
      I also did try Mono while I was on Linux, bu it was always behind on .net updates which made sharing projects with group member that use Windows very difficult.

    • @williamriddell6928
      @williamriddell6928 6 років тому +3

      Social Justice Warrior you can now install the .NET core packages onto Linux! I’m so happy to finally move away from windows completely. Linux all the way

    • @japhethjay4880
      @japhethjay4880 6 років тому

      Please tell me more

    • @Mindurown8
      @Mindurown8 5 років тому

      Hey how were you able to let it use the “let” says something about esversion 6

  • @PandoraMakesGames
    @PandoraMakesGames 6 років тому +9

    Dan the man is back at it again!

  • @copy-pastaparadise5299
    @copy-pastaparadise5299 6 років тому +235

    4 spaces tab team!

    • @seanld444
      @seanld444 6 років тому +4

      Assemble!

    • @luisgeniole369
      @luisgeniole369 6 років тому +6

      3 spaces FTW: you get the readability of 4 spaces with the eye candy of 2

    • @live_destin-3408
      @live_destin-3408 6 років тому +2

      4 spaces tab team!

    • @seanld444
      @seanld444 6 років тому +20

      @@luisgeniole369 and the anxiety of an odd number.

    • @roryhemmings7860
      @roryhemmings7860 6 років тому

      I prefer 1 space

  • @Sweetvalhalla
    @Sweetvalhalla 6 років тому +2

    Thanks for mentioning that open files from the terminal thing. I've been using vs code for a while now and never figured out the command

  • @NoMercy8008
    @NoMercy8008 6 років тому +20

    First of all, thanks a lot for your videos! I never really comment (and I'm really sorry for that!), but I'ven been watching you on UA-cam for a while now and I really really enjoy your style of teaching and your ways of conveying all your enthusiasm and all the fun you have doing what you're doing! Not only did I learn probably more than anywhere else, but I've also never seen any other coding videos which are so *inspiring* and creative :)
    Can't thank you enough for that! There are no words that can accurately describe all your awesomeness! :)
    I've also got a small question for you: In pretty much all your videos up to this point you've been using either Atom or Sublime as your main text editor, and I wonder what's your reason for switching to VS Code?

    • @TheCodingTrain
      @TheCodingTrain  6 років тому +4

      Thank you for the nice comment! To be honest, I don't have any big reason for switching other than trying new things, I see others using VSCode and encouraging me to try, and I also wonder if Atom will continue to be supported now that Microsoft acquired GitHub.

    • @NoMercy8008
      @NoMercy8008 6 років тому

      Thanks for the answer!
      And I see, it's always fun to try out and learn new things :)

  • @teamclouday
    @teamclouday 6 років тому +47

    Try Bracket Pair Colorizer extension!!

    • @teamclouday
      @teamclouday 6 років тому +7

      and GitLens

    • @rochakgupta6116
      @rochakgupta6116 6 років тому +1

      It's a must have extension imo.

    • @jensgerntholtz4041
      @jensgerntholtz4041 6 років тому +2

      Hot damn. This is something I've needed in my workflow. Thanks, champ!

  • @charusharma8721
    @charusharma8721 4 роки тому +1

    Thank You so much ....Video was really helpful

  • @live_destin-3408
    @live_destin-3408 6 років тому +1

    Thanks dan that was a great vid lel
    also a long time ago i told you about me and my friends making a club called pogo
    well weve grown alot and are taking part in a web develepment competition with other "teams"
    in Chicago and im realy exited for this opertunity
    and i owe everything i know to you thanks for all the great lesons and videos you really make it fun
    thanks

  • @BowMcGee
    @BowMcGee 6 років тому +26

    How come u dont use the integrated terminal

    • @TheCodingTrain
      @TheCodingTrain  6 років тому +6

      I like all the features that iTerm has? Plus I sometimes do a lot of stuff in terminal without Code open? But maybe I should explore using it more. ..

    • @Spongman
      @Spongman 6 років тому +2

      you can also configure which shell is used in the vscode terminal, just in case it's not using zsh (or whatever) by default. the fact that you can toggle it simply with a single keypress, ctrl-click filenames/urls in it to open, set up build/run tasks, etc... make it way more convenient than switching to a separate program.

    • @nobytes2
      @nobytes2 5 років тому

      @@TheCodingTrain you can use any shell, iTerm or whatever. The good thing about that is that your aliases come to vscode.

  • @jumpierwolf
    @jumpierwolf 6 років тому +14

    Honestly the best thing about vs code that makes it stand out is the code completion and the integration with typescript

  • @pedramsadegh-beyki1257
    @pedramsadegh-beyki1257 6 років тому +8

    Hello Daniel,
    First of all, thank you for being the greatest and funniest programming teacher of all time. I've learned a lot from you and I truly admire and appreciate your hard work on generously sharing your knowledge to the world.
    I have two tutorial requests in regards to your workflow methods that I believe could save many people's lives:
    1- "How to create a library for Processing" - I have certain classes that I like to use in my future sketches without having to copy-paste my codes.
    2- "How to set up an external text editor for coding in Processing and easily 'Save As' any individual file of the sketch without having to create new folders with duplicated files and somehow force the editor to compile all the code files from specified paths that are not necessarily inside the same folder" - hope I was clear.
    Thank you in advance! :)

  • @prashantmore1761
    @prashantmore1761 6 років тому +5

    VS Code also has p5 code completion support. But it gets sometimes annoying.

  • @jackfairfield1109
    @jackfairfield1109 6 років тому +2

    Here is a p5.js extension to install that includes all of the p5.js functions:
    marketplace.visualstudio.com/items?itemName=acidic9.p5js-snippets
    It even has your face on it!

  • @arpitbharti6245
    @arpitbharti6245 6 років тому +7

    Use Prettier instead of Beautify.

  • @gilshahar7
    @gilshahar7 6 років тому

    Thanks for showing your stuff!

  • @mustofa_id
    @mustofa_id 6 років тому +3

    Zoom editor only on mouse wheel: "editor.mouseWheelZoom": true
    You're welcome

  • @dylman9055
    @dylman9055 6 років тому

    you can also control wheel to increase or decrease font size too.....

    • @dylman9055
      @dylman9055 6 років тому

      well, I could be wrong, idk if apple products allow for a mouse with a wheel to exist, it takes up so much space after all.... it would explain why a person would go through that many steps though.....

  • @jakemeyer8188
    @jakemeyer8188 6 років тому +1

    I hate to admit it, but as a diehard Linux user, I love VS Code. Professionally I have to code a lot of .NET. VS Code integrates a powershell env and .NET core easily. MS-SQL server is free for dev and has a Linux version, and integrates quite well. Git, TFS, I can do a lot of my work and collaborations before I have to touch Windows at all. In a nutshell, all .NET and interpreted languages are perfect for VS Code. It's just so clean, easy to use, and makes cross platform dev a lot easier.

  • @DogwafflDan
    @DogwafflDan 6 років тому

    I used it for a few VB scripts and forgot about MS Code. Nice to see it again, any plans on ever doing any Python scripts?

  • @MrSeinfeldFan2
    @MrSeinfeldFan2 3 роки тому

    Hey buddy, can imagine people who do not work with macs?... have you even imagine a world like that? /s

  • @bangnokia
    @bangnokia 6 років тому +1

    you should try neovim

  • @DEVDerr
    @DEVDerr 6 років тому +6

    Of course don't forget about magical "Ctrl + ` " command to open your built-in terminal. Most handy feature in this editor in my opinion

  • @chillingpaully4137
    @chillingpaully4137 3 роки тому

    Dan is the only one allowed to do spaces. Everyone else has to do tabs. I don't make the rules

  • @aravindm800
    @aravindm800 5 років тому +1

    03:15 blow peoples minds with 3 space tabs.

  • @FrancoisSchnell
    @FrancoisSchnell 6 років тому +1

    You can change the font size on the fly also with ctrl+ and ctrl -. VScode is "just" a webpage desktop app with Chromium under the hood :)

    • @biigsmokee
      @biigsmokee 5 років тому

      Which is why you can do it straight in the browser with Coder :)

  • @nicarozanime
    @nicarozanime 4 роки тому

    I thought u were professor from money heist

  • @temzeks
    @temzeks 4 роки тому

    how do we set it up on windows? didnt quite follow it

  • @DEVDerr
    @DEVDerr 6 років тому +1

    7:40 Just use Command + Shift + P. It'll show you all functions that your extensions have :D
    In this case, you could just type "Bea" and VSCode will know that you might want to Beautify this file

  • @yousseflagtab9193
    @yousseflagtab9193 6 років тому +1

    prettier is much better than beautify

  • @bwatspro
    @bwatspro 5 років тому

    You are amazing ! :)

  • @PopeBeetlejuice
    @PopeBeetlejuice 5 років тому

    I'm on windows and not mac and a lot of this does make sense but i can't do some of it cause I'm on Windows. Any help?

  • @billydamara
    @billydamara 6 років тому

    Thanks for all of your videos, ive learn bunch from that. Can i req more neuralnetwork coding challenge for chess knight tours.
    Btw this might be my first comment on youtube.

  • @ShaunDreclin
    @ShaunDreclin 6 років тому +1

    Three space tabs? You absolute madman!

  • @lagginginthe90s60
    @lagginginthe90s60 4 роки тому

    how to get intellisense for p5

  • @Gol_D_Roger_The_Pirate_King
    @Gol_D_Roger_The_Pirate_King 5 років тому +1

    I use Prettier, JSLint | TSLint and GitLens.

  • @rikikrismawan1831
    @rikikrismawan1831 4 роки тому

    i have question. when using mac . i found file '_.namefile . Is anoying for me.

  • @jasinAmsterdam1976
    @jasinAmsterdam1976 2 роки тому

    Dude.....you're awesome

  • @shawnsmothers1715
    @shawnsmothers1715 4 роки тому

    you can simply set beatify work on hitting save. no need for any of that extra changing code. you simply just promped on save and hit save lol

  • @DEVDerr
    @DEVDerr 6 років тому +4

    8:25 You can also install keymaps via extensions which will allow you to use keyboard shortcuts from other IDE's like Atom, Webstorm, Sublime etc.

  • @arfiaa_lensa
    @arfiaa_lensa 3 роки тому

    Hello sir, excellent video. Say for example I want to make 3 programs which are calculators, a mobile app and a website. Should I make 3 different workspace or should I just make 1 workspace with 3 folders ?

  • @iamjasonthompson
    @iamjasonthompson 6 років тому

    ah man, another one! I'm trying to decide to dust off my sublime text or try atom. I just dabble with the HMTL/CSS/Javascript trio. How does VS Code stack up for beginners or designers learning to code?

    • @TheCodingTrain
      @TheCodingTrain  6 років тому +1

      I am enjoy using it quite a bit! I love Atom too. None of these tools are really designed for beginners but worth giving a try for sure!

    • @iamjasonthompson
      @iamjasonthompson 6 років тому

      @@TheCodingTrain I totally agree. The more powerful the less intuitive for beginners. I'm going to dive into atom and see how in like it I have some Dev background . . . So no I'm not afraid. Lol. Nothing a reinstall can't fix. 😂

  • @junvelasco7812
    @junvelasco7812 3 роки тому

    Hello sir, can I still learn p5.js without internet access like processing?

  • @DEVDerr
    @DEVDerr 6 років тому +4

    Btw. currently there are 3 extensions for p5.js (one of them has your face in a thumbnail XD)
    I think the last one (p5canvas) is extremely cool. It allows you to show your canvas right in VSCode instead of opening the file in browser

  • @sallylauper8222
    @sallylauper8222 2 роки тому

    I've been using VS Code for a while but Schiffman shows how to do it like a BOSS.

  • @rajashekhar433
    @rajashekhar433 5 років тому

    How to create extension of generate folder with file

  • @SergioArroyoSailing
    @SergioArroyoSailing 4 роки тому

    Hilarious

  • @Spongman
    @Spongman 6 років тому +1

    as well as/instead of increasing the document font size, you can also zoom the whole environment (in the view menu) which will also make all the rest of the UI easier to see for video presentation.

    • @mannob
      @mannob 6 років тому

      Indeed, for presentations on a screen CMD-+/- (Ctrl-+/-?) while either a file or the UI has focus zooms in and out nicely and quick. Use it while teaching a lot. Nice, flexible and quick.

  • @eomith759
    @eomith759 5 років тому

    9:25 This is why u wanna use pewdiepie?

  • @Swing-t8p
    @Swing-t8p 6 років тому

    Thx!

  • @beaverjoe9171
    @beaverjoe9171 6 років тому

    I want my rainbow sticks.....I change my address

  • @nochecku6834
    @nochecku6834 6 років тому

    Checkout liveshare extension for vscode!

  • @johnniegilkerson4724
    @johnniegilkerson4724 4 роки тому

    why don't you explain how to set up p5.js on vs code?

  • @yousufazad6914
    @yousufazad6914 6 років тому +1

    love the energy!

  • @KangoV
    @KangoV 4 роки тому

    This is a promotional video for Eclipse/IntelliJ :)

  • @Laura-ih2pf
    @Laura-ih2pf 6 років тому

    Did you know that there is an extension with your face as the logo? Its title is something with p5. Just look for it. XD

  • @derpmarine216
    @derpmarine216 5 років тому

    Eslint 2 tabs no semicolons. Aka standardjs

  • @alvaronaranjo2589
    @alvaronaranjo2589 6 років тому

    Nice video! Take a look at the prettier repo and extension, it’s similar to beautify but more opinionated in terms of styling.

  • @sayamqazi
    @sayamqazi 6 років тому

    I liked using JSON settings. Why they had to change it?

  • @tanbirsohail
    @tanbirsohail 5 років тому

    😒 vs code is the best ide.

  • @МирославТомич-х7ц
    @МирославТомич-х7ц 5 років тому

    speeeeeeeeeeeeeeeeed!!!

  • @sodkolandiawita4417
    @sodkolandiawita4417 6 років тому +1

    Fantastic!

  • @veda-powered
    @veda-powered 6 років тому

    Just use ed like a real man.

  • @jonatangall3715
    @jonatangall3715 5 років тому

    I love your videos!! Keep this awesome work!!

  • @MrTungDev
    @MrTungDev 6 років тому

    2 spaces tab team!

  • @drgr33nUK
    @drgr33nUK 6 років тому

    two spaces tabs!!! Nope :D

  • @ivan.exposito
    @ivan.exposito 6 років тому

    really 4 spaces? bye bye. /t

  • @NikolcheVasilevski
    @NikolcheVasilevski 6 років тому

    Awesome video

  • @yolomein415
    @yolomein415 5 років тому

    It looks kinda dull compared to sublime

  • @SohailKhan-pq5xe
    @SohailKhan-pq5xe 6 років тому

    better use prettier sir

  • @yousufazad6914
    @yousufazad6914 5 років тому

    love this guy!

  • @jasonl9266
    @jasonl9266 6 років тому

    u goofy

  • @johnpope1473
    @johnpope1473 6 років тому

    try looking into iterm2 / zsh / oh-my-zsh for colors in terminal. it gives context to git branches / virtual environments / and looks great.

    • @TheCodingTrain
      @TheCodingTrain  6 років тому

      Yes, that's what i show in the next video!

    • @johnpope1473
      @johnpope1473 6 років тому

      consider showcasing miniconda.

  • @jesust162
    @jesust162 6 років тому

    I'm gonna use 3 spaces tab for made ppl mad.

  • @piyh3962
    @piyh3962 6 років тому

    4:10

  • @yuryschkatula9026
    @yuryschkatula9026 6 років тому

    Mac people do not open a window full-screen, they increase font size instead :)

    • @mikej7476
      @mikej7476 5 років тому

      That's the dumbest comment I've read in a long time.

    • @yuryschkatula9026
      @yuryschkatula9026 5 років тому

      @@mikej7476, see the smile above, dude, see the smile ↑

  • @hogarthmcmallian7369
    @hogarthmcmallian7369 6 років тому

    how do you run the code?

    • @TheCodingTrain
      @TheCodingTrain  6 років тому

      I use a node server (which I show in a subsequent video). But there are many other ways too!

  • @ipointmistakes
    @ipointmistakes 6 років тому

    How do u managed to get autocomplete working? Extension?

    • @RogerThat902
      @RogerThat902 6 років тому

      Are you thinking of "intellisense" ? That's what VS Code calls their feature that shows you the methods on objects, etc. There are different ones for different file types though, I believe JavaScript files automatically have it

    • @niter43
      @niter43 6 років тому

      Simply open/save as .js file?

  • @adityachawla5679
    @adityachawla5679 6 років тому

    8:56

  • @andigwandi
    @andigwandi 6 років тому

    too much chutiyapa

  • @eddiejaoude
    @eddiejaoude 6 років тому

    Useful and entertaining 👍. Thank you. I liked the install to path 👍🤓

  • @syr3472
    @syr3472 6 років тому

    can i use vscode to replace both p*5 and processing? O_o

    • @AskEpic
      @AskEpic 6 років тому

      vscode is just code editor.

  • @aratherlongusername190
    @aratherlongusername190 6 років тому +1

    Why is this unlisted?

  • @drc-yokona9497
    @drc-yokona9497 6 років тому

    help me pass my exam :O
    A program that ask the user to enter a series of numbers (use 0 to stop the series. After all the numbers have been
    entered, the program should display the the largest prime number of the series. Data validation: numbers should
    be greater than 0.

  • @maz4962
    @maz4962 6 років тому

    8:54
    Programmer's life in a word.

  • @sergey_c
    @sergey_c 6 років тому

    look like author not fully healthy ...

  • @SeamusHarper1234
    @SeamusHarper1234 5 років тому

    I love it when apple nerds get excited about stuff like the shell... Uh, that is so neat and productive, we should have had this earlier! :-D

  • @godmakoto1041
    @godmakoto1041 6 років тому

    Solve .bat or .ink problem in usb plz

  • @mikej7476
    @mikej7476 5 років тому +1

    Why would someone make a tutorial video about something they have never used and don't have the first clue how to use it? I've used sublime, atom, notepad, and a few others and VSCode is the nicest, and easiest I've ever used and will not switch back to any other. This nutcase is taking 10 steps to do a 1 step process. Whatever it is you DO KNOW, stick to that cause this ain't it. I think there is some kind of hospital looking for you somewhere.

  • @user-zu6ts5fb6g
    @user-zu6ts5fb6g 6 років тому

    yaay :D

  • @yinweiting2755
    @yinweiting2755 5 років тому +1

    Atom => VS code => Emacs

  • @yamantarakji
    @yamantarakji 6 років тому

    if only it wasn't created by MS , I would have given it a shot ,

    • @Spongman
      @Spongman 6 років тому +2

      just FYI. atom is owned by MS, too, now.

  • @mastercode7851
    @mastercode7851 6 років тому

    obviously you are the one who need tutorial about this editor lol

  • @fiddlewidmatoe8310
    @fiddlewidmatoe8310 6 років тому

    No windows 10 only macs ...... Am still stuck vs code I am trying to print hello world but cant

  • @slamotte
    @slamotte 2 роки тому

    i received a "Can't find Node.js binary "node": path does not exist. Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in your launch.json. message does anyone know what this means or how to fix it?

    • @TheCodingTrain
      @TheCodingTrain  2 роки тому

      The discord is a better place to get help with questions like this! thecodingtrain.com/discord

  • @simonengelhardt7653
    @simonengelhardt7653 6 років тому +2

    Introduce VSC, not beautify.

  • @quebono100
    @quebono100 6 років тому

    I will never support Microsoft, beside the keyboard hardware :)

    • @veda-powered
      @veda-powered 6 років тому

      There mice are pretty nice too.

  • @joeneuman3799
    @joeneuman3799 6 років тому

    Why are you doing this?

  • @karunkumar9901
    @karunkumar9901 6 років тому

    Very bad experience.