My Visual Studio Code Setup for Web Development
Vložit
- čas přidán 28. 07. 2022
- Thanks to Mailgun for sponsoring this video! Head to mailgun.com/forrestknight to try Mailgun today.
Learn to Code with Coursera Plus (7-Day Free Trial): imp.i384100.net/Ke61De
My focus lately as a developer has been building websites & web apps, and VS Code is the main tool I use to get that done. It's the most popular IDE/code editor among developers, according to the 2022 Stack Overflow Developer Survey. So, I want to show you how I use VS Code, my preferred extensions, my current theme, and my favorite VS Code settings that I’ve been using for many different types of web development.
------------------------
🐱🚀 GitHub: github.com/forrestknight
🎥 Twitch: / forrestknight
🐦 Twitter: / forrestpknight
📸 Instagram: / forrestpknight
📓 Learning Resources:
My Favorite Machine Learning Course: imp.i384100.net/YgYEBJ
Open Source Computer Science Degree: bit.ly/open-source-forrest
Python Open Source Computer Science Degree: bit.ly/python-open-source
Udacity to Learn Any Coding Skill: bit.ly/udacity-forrest
👨💻 My Coding Gear:
My NAS Server: amzn.to/3brqO7b
My Hard Drives: amzn.to/3aKetMi
My Main Monitor: amzn.to/3siQfPa
My Second Monitor: amzn.to/3keHT84
My Standing Desk: amzn.to/3boAcbC
My PC Build: bit.ly/my-coding-gear
My AI GPU: amzn.to/3uvmUmz
🔧Coding Tools:
The Best Linux Server Hosting: bit.ly/linode-forrest
Calling all devs! We've just launched our brand new newsletter, Dev Notes! Delivered weekly, Dev Notes is your specialized briefing into the world of technology, computer science research, and software engineering, tailored specifically for those who are building it: the developers. Go to www.devnotesdaily.com/ to learn more and sign up!
We've also just announced Studious, a Notion template built specifically for students to keep track of everything in your student life. For a very limited time, you can receive the early bird discount by going to notionstudent.com and entering your email before the projected launch date of July 31, 2023. Upon the official launch, you will be notified via an email containing your discount code so you can organize your studies with Studious in time for your Fall semester.
_Posted July 20, 2023 by Forrest Knight_
*Original Comment:* So, what are _your_ favorite VS Code settings & extensions? And what theme are you running?
Instead use vscodium
You can try Mayukai Theme if you like. And use material icon theme for icons.
Vscode has an auto rename tag feature but it is not enabled by default. Navigate to settings and enable editor.linkedEditing
@@xezuthegamer8544 it does not works with reactJs
The way this dude pronounces andromeda should be a crime
Here are some interesting extensions you might find useful:
Error Lens - Highlights errors and warnings inline rather than having to hover over red swiggly lines to inspect the error/warning
Git Lens - Nice way to see who wrote certain pieces of code quickly. Very useful if the project is developed by a team.
Path Intellisense - Autocompletes file names
Thunder Client - Lightweight tool to make api calls like postman or insomnia
Theme - Atom One Dark, since everyone was commenting what themes they use 😅
Error lens and Git Lens are two amazing extensions. Being able to see what errors have occured inlined into your code is amazing
I don’t like atom dark to vibrant my favourite is firefly pro midnight
Error Lens clutters the editor but I will get used to it.
Hi @Fantom, thanks for sharing! I just started coding last month and this would help a lot. Would like to add "Prettier" as well which makes the codes easier to read not sure if any of those 4 has this feature. :)
Nice video.
Some extensions I really like are:
REST Client: To make requests. It is script based and supports comments, thus you can use it as a temporary replacement for API docs. Find it to be really useful.
Remote - SSH: Really great if you are working with Remote Servers.
JavaScript REPL: Is really nice if you are working on some algorithm and want a fast response to what you are tweaking.
MongoDB for VS Code: Basically a database client for MongoDB within VSCode.
Theme Cobalt2 - Really pleasing to the eye.
I used the Synthwave '84 theme for almost a year then recently switched to Moonlight. What can I say, I love the glowing text.
I believe Andromeda would be offended by that pronunciation.
ANdro-MEDa
Always good to look up words you don’t know 🎉just to be safe 🎉
Funny thing, that is the correct pronunciation in Greek
@@DavidCSaint an-DRO-me-da 😋
That's as far as I got in the video before jumping into the comments to make sure someone else caught that 😅
Absolutely loved the video , the new era of ForrestKnight is definitely something to not miss out on !! About to start my fall semester with my first computer science class! Thanks for all the inspiration Forrest!
Looking at your chosen theme and the fact that you like dimmed pastels in other contexts, the Rainier theme would probably interest you, since it's a middle ground between high saturation colors and dimmed pastels (the colors look like chalk).
BTW you can disable font ligatures (the merged characters) in the VS code setting and Fira Code (or any other programming font) would render characters without them.
THANK! I've been looking for a well rounded theme and Rainier does exactly that! I have been using Fira Code for a long time now with ligatures, I prefer with than without now.
It's beautiful. Will be my vs code theme for a long time
thanks a lot for the Rainier theme recommendation, bro! tried it earlier this morning, it's PERFECT
Nice vid! I've been using "Bearded Theme Monokai Black" for a while, I strongly recommend, their extension comes with different styles to match your taste
That's the one!🔥
We had a guy join the team about a year ago, 25+ year industry vet. Whole team uses VSCode with a recommended set of extensions but he was used to his Vim and we weren’t going to force him to make the change. It didn’t end up working out, and it was too little too late but he did eventually realize he made a mistake when he watched me CMD-click through a series of inherited classes that had been taking him literal hours to navigate before
Shoulda told him about the vim extension for vs code lol
bro just didn't knew about LSP navigation on neovim.
right now i can do "gd" on any thing on my code and it simply takes me to the damn definition, even if it's something defined on the language itself, it shows me the actual implementation of said function lol.
the guy you hired were just a vim noob tbh
Ctrl + D and Ctrl + U(prefferably with zz) be like frfr
well, finally I got the extension for the icons *_* thanks a lot and my fav/current theme is Monokai Pro (Filter Octagon)
That Andromeda theme is stunning!
I've been using Dainty - Panda Theme for my own VS Code setup too!
I really loved your setup. In fact I am using WSL2 with Ubuntu as well.
However I would add few more extensions.
1. Code Spell Checker
2. Auto Close Tag
3. DotENV
4. EditorConfig for VS Code
5. RapidAPI Client
6. TODO Highlight
7. WSL
8. Docker
And I use Community Material Theme (Palenight High Contrast) with Material Icon theme.
Great Video 👍
i love your php vids!
I've been using electron theme for a bit, definitely has colors that pop while still being easy on the eyes
Also used that one for a while and rly liked it, until I stumbled over Electronic Moonlight. It's based off Electron and absolutely perfect for me. Such a chill theme. If you like Electron, maybe it'd be something for you too. I personally like it even better than Electron.
Thank you bro Very important video❤️
I like the arch linny idea senor! Would enjoy that vid!
Nice theme. I use phpstorm myself and use Materials oceanic theme with high contrast. Might try and make the switch to vs code once my license ends
Jesus! I didn't know about an Ubuntu tab on terminal. Had to use google for copleof minutes, but the result is amazing. Thanks a lot!
Strange... I didn't realize I wasn't subscribed. Thanks for a great video my guy!
Great video, I use Moonlight as theme and its pretty good
God I love your channel dude, thank you for being you!
Awesome video! Thanks for sharing!
my favorite theme is "beautiful dracula darker" its absolutely gorgeous
Very helpful video. Visual Studio Code is my go-to code software.
Great advices here! You motivated me to switch career, start my Tech CZcams channel, and start passive income. Thanks!
awesome video forest i really enjoyed the complete also gain some insight from you. thanks
Great video! Very useful😊
the live server extension is fairly good for beginners but for more professional use of vanilla js html css coding, it's better now to just npm init vite and start a vanilla project through vite
I created cpu optimised ec2 instance and installed code-server(by coder), it allows me to use vscode in the browser, it's really fast, responsive and I love it. 100X better than coding on my laptop.
Do you have the ability to forward ports?
@@gffftxxx not sure
@@_wise_one in such case it will not be a full development(
@@gffftxxx I don't need port forwarding but if you do, you can use vscode and ssh into ec2, you will have the option to forward port.
@@_wise_one yes you are right. If I use remote machine with installed ssh server, but If i can not install ssh server on my remote machine but I can install cli utill (code server) ((
Wow, found this channel by YT recommendations, am impressed!
the terminal website is fantastic!
Your linux setup looks so cool, could you tell what you're using as tilling manager/ window manager
Lol
AwesomeWM
rescued the video at 30 seconds when you said neovim was good, I was just about to sharpen my pitchfork :D
Nice content! Thanks!
Thanks for this mannn
3:45 But Fira Code doesn't force you to use ligatures, you can turn them off.
Tbh, difference between editors really matters when you thinking is much faster than your typing. For me it is true maybe 10% to 20% of the time. And i tried very hard to force myself to learn vim, but in reality it's just not my cup of tea. I'm not fast enough to fully utilize vim but i'm not ready to give up that idea :)
Vim or neovim even with all the plugins is pretty meh at best and there is no upside of using it these days. Almost every system has a UI. The best way to use it is to just use a vim extension for whatever code editor you use.
My favorite theme is Ayu ! I LOVE this one
I really like the OG VS Code theme and I use it even in my neovim config xD! Also, Gitlens is the extension that I use that you didn't mention (definitely a widely used extension)
with you 100%, I've spent hours trying all kinds of themes just to come back to the default theme as my favorite 😅
@@b1zzler lmao
One thing you didn't cover is your font, because that's one thing I did customize in VSCode. My font is Source Code Pro and my theme is One Dark Pro Flat. Oh, and btw, F2 can also change tag names in React, Svelte, etc. Just put your cursor on a tag and hit F2, specify the new name and it'll update it.
Thanks, Learning resources !
My favourite themes by far are the dark variants of Gruvbox Material and Everforest, both by the same guy as far as I know. They have softer contrast though, so probably not a super helpful recommendation, hey. For those who like less pop, though, I'd highly recommend either, especially the first. I actually don't mind ligatures either; I generally use JetBrains Mono day to day.
Jetbrains Mono? You, my friend, are a real one.
Great video! FYI, "Andromeda" is pronounced an·draa·muh·duh. "An-dro-me-duh" gave me a good laugh.
Appreciate the tips!
I started using ArcoLinux 2 days ago and there is a lot to learn but it's very rewarding. Hope to see a vid with you leaving Windows Soon :)
I've been using emacs for my workflow, it works like a charm, it really is funny how people are being bound to an editor/IDE, but in a real world you have to get things done, if spending a lot of time configuring an editor is actually making you more productive, then go for it.
My favorite theme so far is Doki Theme: Re:Zero: Ram.. the first one.. easy on the eyes and very nice contrast
Themes I use in rotation:
Night Owl (light + dark)
Cobalt2
CyberWave
DuoTone (package of multiple themed themes)
Noctis (package, light + dark)
Red
Tokyo Night/Storm
Tomorrow Night
Vue
reason for lint instead of hint is probably because a a "Linter" checks for coding, HTML isn't coding, it's just a markup language, so he gives you a hint to make it better
10:23, you don't actually need this extension, just hit ( f2 ) and rename the tag to whatever you want, it works for renaming other things like: variables, functions, classes... etc.
yeah, nowadays f2 (refactor) is quite impressive. In my case, i use it a lot to rename variable, function, and class across different files, and it also automatically saved.
I was looking for this exactly, but I didn't find your config.json
I loved much more than others
This one became my favorite
Help me, I'm from Brazil we love this guy so much
my fav theme is the blueberry series, I find them pleasing but banana has better contrast than the default one. I even built my site around banana blueberry.
can you share a link to your site?
Love your content :}
I've made my own theme, or well. It's based on Shades of Purple - but I've tweaked some parts. It's called 'Colorful Explosion'. Currently working on a new version to see if I can make any improvements
It's kinda same, just some minor changes in it, but appreciate that.
Anyways just too excited to see you back
nice setup 🚀
This video is gold mine
I love ligatures, but my favorite font is Cascadia Code / Caskaydia Kove
Works well!! DANKEEE
Thanks a lot for sharing,
It's a very helpful content 😃,
I really have a question for you:
Where did you learn react and nodejs??
theme: doki theme. allows you to have anime girl stickers in your editor and a theme surrounding it (sayori-dark for the bg and senko for the sticker is my fav and current)
terminal: powershell (WSL is great. but until you have todo git commits. then you have togo through adding your git token)
wakatime: this is an extension that tracks your time coding
discord RPC.
code runner as well. saves time so you wont have to write in the terminal to save your code.
you juts press a button.
I actually tried the theme "oceanic blue", I felt that great and suggest everyone try once
Thank you so much @forestknight you legend! very useful!
You can always use the Vim Hotkeys in VS Code if that's your cup of tea.
Great video, can you show how to have multiple monitors in vscode? Being able to undock various tabs and put them on seperate screens is so helpful and I can't seem to figure out how to do it with vscode. WIth pycharm and spyder it was easy
I *am* subscribed Forrest, and have been for some years. You look much better with the shorter hair too BTW.
for someone who try to get into linux community and choosing arch I would like to see video of setup arch for work enviroment for web development the more detail it get the better I dont care how long the video are I will watch the entire video also yes I do know there a better distro for beginner friendly but still I want the ultimate customize ability so yeah
I’m way into the super vibrant/saturated look. I run the Monokai Charcoal main theme.
Vs code with the vim extension is all I need.
Atom One Dark Theme, the best for me❤
TabNine is awesome, been using it for a while. Once you use it is impossible to stop, the same goes for the terminal, when you install "fish-like autosuggestions" with bash or zsh is impossible to not use it.
i have issues with it , it makes all other extensions hang , have u ever encounted this issue or
@@BilalAhmed-tw5cr no, everything work fine, maybe is one of the other extensions that is conflicting with it, maybe the machine is out of resources (ram, disk) as well
Comic Code font. I love it!
I used Just black as my theme for years but recently I switched to Seti-Black
i would love to learn how to make a terminal website just like u That was anwsome!
Some useful extensions:
Import cost
DotENV
Thunder Client (Postman alternative)
What made you swap off of Arch? Also, I would be very interested in seeing that setup. Thanks for all you do!
bro changed my life with auto close tag
Would be nice to know how you even open or where did you find all those defaults settings.
Fira Code is great when working in Elixir. Pipe functions look great
OMG are you going to start web dev course or what , I guess I should watch complete video then comment lol
Thank a lot !!!
The default theme is the best
LOVING that keyboard - what is it, if you don't mind me asking?
Is it possible that the reason VS Code opens to remote (1:33) is because it remembers your last instance? I vaguely remember VS Code opening into remote even after I uninstalled WSL because I was using the WSL features last time I had VS Code open.
3:29 this is font ligature. this is available in lot of modern fonts and you can turn it off. even for fira code
Good video. Worth watching. Thank You! Looked for Andromeda Theme and it looked like there are many variations. I tried a few but IMHO none of them are as good as SynthWave'84 by Robb Owen which I think really "pops". (Assuming you like a dark theme that really "pops").
Nah I'm gana use "YOUR" theme, here, homie, lookin' SLICK yes indeed!!!! ... .. And some nice extension recommendations that "Prettier" is a Must Have for any real coders out there. For sure. WOW , VS Code is so awesome. ~ Cheers , ~ "the" Rev
Nice video!
I use Settings Sync to sync my VS Code settings across different computers.
I legit never knew the use of minimap till today.
I completely get where youre coming from with Fira code when I first tried it I hated it and it was kinda more confusing however after a few months I can say that I like both ways, and dont really care either way. I currently use Fira, and its not confusing anymore I can easily tell == and === apart but yeh its really just a preference thing.
Call me basic but Community Material Theme: Darker is my current and favourite VSCode theme by a long way ;)
minimap definitely gets in the way when you split multiple files in a window
I wish you did this video for newbies
Deepdark Material Theme is cool)
I really want a collab between him and the primeagen
How do you pronounce “Milky Way?”
Hahaha all in good fun. Thanks for the video!
:D I enjoy your thoughts on Neovim :)
"MutableAI" is a Github replacement; Error Lens help with seeing errors clearly ; Parameter Hint extension,
12:38 Sounds like a fun idea!
I love WSL + Windows. Ultimately though I had to go back to mac or ubuntu. I was just too distracted by all the games I wanted to play on steam etc. I found I had no self control. I found why I'm so unproductive on windows and it's nothing to do with windows and everything to do with me. :)
Hey Forrest what keyboard is this one on the video?
Very good 👍🏼