My Visual Studio Code Setup for Web Development
HTML-код
- Опубликовано: 28 июл 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. :)
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 😅
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.
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!
I used the Synthwave '84 theme for almost a year then recently switched to Moonlight. What can I say, I love the glowing text.
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)
God I love your channel dude, thank you for being you!
Thank you bro Very important video❤️
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!
That Andromeda theme is stunning!
I've been using Dainty - Panda Theme for my own VS Code setup too!
my favorite theme is "beautiful dracula darker" its absolutely gorgeous
Awesome video! Thanks for sharing!
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.
Your linux setup looks so cool, could you tell what you're using as tilling manager/ window manager
Lol
AwesomeWM
Strange... I didn't realize I wasn't subscribed. Thanks for a great video my guy!
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!
Great video, I use Moonlight as theme and its pretty good
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
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??
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) ((
I like the arch linny idea senor! Would enjoy that vid!
Very helpful video. Visual Studio Code is my go-to code software.
awesome video forest i really enjoyed the complete also gain some insight from you. thanks
Great advices here! You motivated me to switch career, start my Tech RUclips channel, and start passive income. Thanks!
Wow, found this channel by YT recommendations, am impressed!
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
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
Great video! Very useful😊
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
Thanks for this mannn
Nice content! Thanks!
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.
the terminal website is fantastic!
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.
rescued the video at 30 seconds when you said neovim was good, I was just about to sharpen my pitchfork :D
My favorite theme is Ayu ! I LOVE this one
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
Thanks, Learning resources !
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.
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.
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 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 :)
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.
This video is gold mine
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
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
Would be nice to know how you even open or where did you find all those defaults settings.
Liked the video :) Can you tell me what is that keyboard of yours?
What made you swap off of Arch? Also, I would be very interested in seeing that setup. Thanks for all you do!
Thank you so much @forestknight you legend! very useful!
I actually tried the theme "oceanic blue", I felt that great and suggest everyone try once
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.
My favorite theme so far is Doki Theme: Re:Zero: Ram.. the first one.. easy on the eyes and very nice contrast
Works well!! DANKEEE
nice setup 🚀
LOVING that keyboard - what is it, if you don't mind me asking?
Great video! FYI, "Andromeda" is pronounced an·draa·muh·duh. "An-dro-me-duh" gave me a good laugh.
Appreciate the tips!
Anyways just too excited to see you back
Love your content :}
You can always use the Vim Hotkeys in VS Code if that's your cup of tea.
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
Vs code with the vim extension is all I need.
Thank a lot !!!
I love ligatures, but my favorite font is Cascadia Code / Caskaydia Kove
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?
Atom One Dark Theme, the best for me❤
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.
Hey Forrest what keyboard is this one on the video?
I *am* subscribed Forrest, and have been for some years. You look much better with the shorter hair too BTW.
I used Just black as my theme for years but recently I switched to Seti-Black
Some useful extensions:
Import cost
DotENV
Thunder Client (Postman alternative)
bro changed my life with auto close tag
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.
I did understand everything in this video except what's your vs code font ?
Fira Code is great when working in Elixir. Pipe functions look great
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.
i'm a software engineer since 20 years, in the greatest web society in France, i only use vim, it's like a guitarist, the music is in your fingers not in the instrument
Comic Code font. I love it!
The default theme is the best
Can I have color themes switch immediately according to the language used? I like Github theme for python, but would like to switch immediately to Dracula when the file is HTML or CSS. Is it possible? Please help. Great video!
Which way to go: running vsc from within wsl2, or directly in windows?
Since you use both, what do you get out of vscode that you don't get out of intellij? I've thought about switching (save some $), but intellij just feels snappier and nicer
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").
i would love to learn how to make a terminal website just like u That was anwsome!
I use Settings Sync to sync my VS Code settings across different computers.
I legit never knew the use of minimap till today.
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
Hi sorry, new to this and am self-taught lol! Do I need ubuntu to open up VS code? is it to have / instead of \ ? (i see the point hahah just need some direction) thanks !
Unfortunately for a few years already I have no any IDE installed anymore. All i have is little cozy gruvboxed Neovim. :) I just get sick of using mouse more and more by every year. But... i have a custom keyboard with custom Colemak layout, so its more natural/ergonomic for me to live in the terminal. Before my current setup i liked VS Code pretty much. Thou, can't remember any favourite plugins for it.
Ouh... and lately I felt in love with Comic Code font.
I wish you did this video for newbies
"MutableAI" is a Github replacement; Error Lens help with seeing errors clearly ; Parameter Hint extension,
:D I enjoy your thoughts on Neovim :)
Do you prefer doing development on Mac OS or windows?
OMG are you going to start web dev course or what , I guess I should watch complete video then comment lol
"Code Blue" very recommended color theme