VS Code has a hidden build-in browser

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • Did you know that there is a built-in browser inside of VS code?
    #css
    --
    Come hang out with other dev's in my Discord Community
    💬 / discord
    Keep up to date with everything I'm up to
    ✉ www.kevinpowel...
    Come hang out with me live every Monday on Twitch!
    📺 / kevinpowellcss
    ---
    Help support my channel
    👨‍🎓 Get a course: www.kevinpowel...
    👕 Buy a shirt: teespring.com/...
    💖 Support me on Patreon: / kevinpowell
    ---
    My editor: VS Code - code.visualstu...
    ---
    I'm on some other places on the internet too!
    If you'd like a behind the scenes and previews of what's coming up on my CZcams channel, make sure to follow me on Instagram and Twitter.
    Twitter: / kevinjpowell
    Codepen: codepen.io/kev...
    Github: github.com/kev...
    ---
    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

Komentáře • 138

  • @sentosaco
    @sentosaco Před rokem +72

    Love that the preview is real-time without saving. Thanks!

  • @thebirdhasbeencharged
    @thebirdhasbeencharged Před rokem +331

    vscode is a browser 💀

  • @skb875
    @skb875 Před rokem +47

    I love the 2nd option. Only downside is that “inspect element” doesn’t work. So you have to open it up in a browser to tinker around.

    • @kevin3495
      @kevin3495 Před rokem +5

      i think its working fine for me, but the downside is the inspect element is also inspecting the vscode window itself

    • @mustaphadiallo2134
      @mustaphadiallo2134 Před rokem

      1444A.E.

    • @sumitkumarsoni1
      @sumitkumarsoni1 Před rokem

      ​@@kevin3495 that is because, it itself is running in a browser

  • @ModifiedMusicYT
    @ModifiedMusicYT Před rokem +10

    This may not save a lot of time in a day but over weeks this saves TONS of time

  • @Thekidisalright
    @Thekidisalright Před rokem +8

    I always use live preview when I don’t have second monitor with me, it’s very useful especially I don’t have to save the file before seeing any changes

  • @JustOneSimpleGuy101
    @JustOneSimpleGuy101 Před 4 měsíci

    Only one that has worked for me. Thank you so much😊

  • @justinanderson267
    @justinanderson267 Před rokem

    Awesome, thanks! The response time on the live preview is immediate and no server required. I highly recommend this method.

  • @CanRau
    @CanRau Před rokem +4

    That's amazing, didn't know about the built-in simple browser 🤩

  • @meowthemmd
    @meowthemmd Před rokem +1

    You can also use that little logo with window and magnifier after installing extension.

  • @dancehalllyrics1303
    @dancehalllyrics1303 Před rokem +1

    Bonus tip for those using live server:
    If you want your project to automatically save and update in the browser, simply click the "File" tab and then tick off "Auto Save", and let the magic happen.

  • @adamos.webdev
    @adamos.webdev Před 10 měsíci

    Good to know that information

  • @jodgg
    @jodgg Před rokem +1

    Thanks for the tips

  • @alishadfar5427
    @alishadfar5427 Před 10 měsíci

    Thanks for this short

  • @ngunyi101
    @ngunyi101 Před rokem

    I found using both options is the most optimal. Live preview doesn't work with python web frameworks like flask and fast API so 1st option works for python. 2nd option is nice for working with html,CSS,js coz the page auto updates but video controls are unresponsive so still have to open in chrome lol

  • @Pinstrip
    @Pinstrip Před rokem

    I didn't know that, really helpful video. I can develop my website completely inside vscode now

  • @bobdinitto
    @bobdinitto Před rokem +1

    Nice! I'll try it!

  • @mnk4allcaps
    @mnk4allcaps Před 7 měsíci

    ty

  • @BlurryBit
    @BlurryBit Před rokem +1

    Ok this is life saving!!! 🎉❤

  • @cmdeckermusic
    @cmdeckermusic Před rokem

    Thaaaank you!

  • @user-bd8kb3fr9c
    @user-bd8kb3fr9c Před 10 měsíci

    thank you

  • @pepomow
    @pepomow Před rokem

    thanks alot

  • @Holosi_Tamas
    @Holosi_Tamas Před rokem +1

    Wow this is preaty use full.

  • @supremedeity9003
    @supremedeity9003 Před rokem +1

    Wouldnt be surprised because VSCode itself is basically running on a browser itself. Its basically a website made into a desktop app.

  • @propavangameryt405
    @propavangameryt405 Před rokem

    Super cool, thanks kevin 👍

  • @Atanepes
    @Atanepes Před rokem

    That really awesome i didn't know ❤

  • @seb.z.g
    @seb.z.g Před 8 měsíci

    Amazing!

  • @rohan1765
    @rohan1765 Před rokem +4

    Next video -> there is a hidden AAA game in the vscode 😅

  • @Ramius117
    @Ramius117 Před rokem

    Thanks buddy! You just made my study time much more efficient. Sending over some coffee $...

  • @MBXD001
    @MBXD001 Před 5 měsíci

    thankss for this

  • @darrellparkhouse489
    @darrellparkhouse489 Před rokem

    my new favorite short

  • @mcdaddy1334
    @mcdaddy1334 Před rokem

    Really cool

  • @gauravvarma3645
    @gauravvarma3645 Před rokem

    I had no idea

  • @muzzuhumble7871
    @muzzuhumble7871 Před rokem

    This is freaking awesome ❤

  • @cobbler2
    @cobbler2 Před rokem

    interesting. nice to see you using vite as well!

  • @serrag97
    @serrag97 Před rokem

    Or ... You could set the language to markdown and use its preview (you can switch back to html after you have open the preview, it get update anyway)

  • @GGLaVitaMia
    @GGLaVitaMia Před rokem

    HiYa Thabks for this video! So the first option is to key in your websites url into the search panel? I'm so confused, i'm learning HTML and CSS at the moment and have got to VS Code and opened my files (an achievment), but how do I make it live? And then how do I preview, and how do I then make edits to the code without it updating on the live website until i'm ready? Many thanks in advanced if you find time to have mercy on me and answer!😅

  • @programingwithali2461

    Thanks

  • @minecraftredstoneinspiration

    Impressed me again Kevin

  • @maxidevs
    @maxidevs Před rokem

    I love it

  • @moazhelmy5153
    @moazhelmy5153 Před měsícem +1

    Bro the page that reloaded the code doesn't reload it why ??!!

  • @hikari1690
    @hikari1690 Před rokem

    The first one doesn't seem to work for me. Not sure why. Live preview is awesome though 🤣

  • @internetbuilder2055
    @internetbuilder2055 Před rokem +1

    Thanks 💯
    Please kiven , we want a complex frontend mintor challenge 🤝🏼🔥

  • @xenoborg007
    @xenoborg007 Před rokem

    Brackets did this a lot better, being in the app makes resizing annoying and not worth the quick refresh button it saves you.

  • @1DonFF
    @1DonFF Před 8 měsíci +1

    How to secure my website so no one can go into web dev or website source & copy all of my code designs & personal data ps html,css,js coding NO Wordpress or WIX. Please please

  • @danialrafiee-rn4is
    @danialrafiee-rn4is Před rokem

    In any way to inspect element direcly in vscode? It will be super help full for long codes

    • @KevinPowell
      @KevinPowell  Před rokem

      It has dev tools in there, I think it's with one of those 3 vertical dot menus

  • @rayforever
    @rayforever Před rokem

    It was available in atom, did lots of search to find that exact alternative for vs code , finally found one 🎉

  • @davvedavve
    @davvedavve Před rokem

    Don't think Live preview works with the real time update if you are using Sass though. Unless you start auto-save at 1s intervals ☺️

  • @LeandroVilanovaDev
    @LeandroVilanovaDev Před rokem

    This is gold

  • @outpost31737
    @outpost31737 Před rokem

    Very handy although not perfect but definitely worth having.

  • @badruzzaman1708
    @badruzzaman1708 Před rokem

    Great

  • @ZachBinder95
    @ZachBinder95 Před rokem +1

    Thats sick. I cannot for the life of me get FTP to work with VS code though

  • @lucas38458
    @lucas38458 Před 10 měsíci

    nice, but how can i see the devtools?

  • @hafizirfan1791
    @hafizirfan1791 Před rokem

    master css

  • @DiscoveringTheFacts05
    @DiscoveringTheFacts05 Před 8 měsíci

    Could you please make a shorts video on how to run a live localhost server. Thnaks

  • @muzammil6030
    @muzammil6030 Před rokem +1

    That's because VScode is written on top of Chromium which is a browser itself

  • @contentsofjoy
    @contentsofjoy Před 10 měsíci

    Wow

  • @TimelessGamingSoftware
    @TimelessGamingSoftware Před 6 měsíci

    thank u sir ahh

  • @renealbrechtsen9743
    @renealbrechtsen9743 Před rokem

    The only problem with this extension is that it doesn't really have inspection tools like a real browser does.

  • @chukwuemekaemmanuel2497

    This is nice...

  • @alessioragonesi8549
    @alessioragonesi8549 Před rokem

    I remember that live preview didn't support js is it still a thing or am i wrong?

  • @aidennelson3171
    @aidennelson3171 Před rokem

    May God bless, thanks!

  • @adflyadfly4137
    @adflyadfly4137 Před rokem

    Any one know how live preview works? Is continously refresh???

  • @kitti.crafts
    @kitti.crafts Před 7 měsíci

    Cool 😎

  • @88Timur88Bahmudov88
    @88Timur88Bahmudov88 Před rokem

    It basically makes a codepen out of your vscode :D

  • @slavaroikhel9464
    @slavaroikhel9464 Před rokem

    It doesn't work with auth-based apps like using firebase

  • @Slackwise
    @Slackwise Před rokem

    The first example is not hidden in any way, but sure, it's not obvious.
    The second example is an extension and not part of VSCode.

  • @martinsndifon
    @martinsndifon Před rokem +5

    for once, I knew something ☺️

  • @guyfromphotostock
    @guyfromphotostock Před rokem +3

    more like
    this version of chromium has hidden built-in code editor

  • @crust5532
    @crust5532 Před rokem

    Can anyone tell me which font is used in the editor??

    • @KevinPowell
      @KevinPowell  Před rokem

      I think I use Consolas

    • @crust5532
      @crust5532 Před rokem

      @@KevinPowell Thank you so much for everything.You are the reason now I love CSS and everyday get to know new things about CSS. 😊

  • @hakeemololade844
    @hakeemololade844 Před rokem

    Good options but it doesn't work for me

  • @avdsuresh
    @avdsuresh Před rokem

    Hi Kevin,
    I am a backend developer.my team is asking to learn front end.How ever i am getting scaring of css.Could you please guide me.

  • @mateomax3817
    @mateomax3817 Před rokem

    can you open developer tools in simple browser?

    • @KevinPowell
      @KevinPowell  Před rokem

      I think so, since it does work with the extension, and pretty sure it's the same thing running for both.

  • @Klrfl101
    @Klrfl101 Před rokem

    Is this faster than opening a separate browser?

  • @zeMasterRuseman
    @zeMasterRuseman Před rokem

    Yeah, but why though

  • @milanpaudel9624
    @milanpaudel9624 Před rokem +6

    VSCode is an electron app. So it's browser pretending to be desktop app.

  • @laughingvampire7555
    @laughingvampire7555 Před rokem

    did you know that VScode is just an app in a browser(electron)?

  • @tipsvio3448
    @tipsvio3448 Před 10 měsíci

    How to preview the php file

    • @KevinPowell
      @KevinPowell  Před 10 měsíci +1

      For php, you still need to run a server, since it's a server-side language. XAMPP was popular back when I was mucking aroun with PHP, no idea if it's still the go to or if there are newer alternatives.

    • @tipsvio3448
      @tipsvio3448 Před 10 měsíci

      @@KevinPowell thank you so much

  • @wojciechbajon
    @wojciechbajon Před rokem

    They be better when it be option to woth with untrusted https certificates...

  • @me_tanmay
    @me_tanmay Před rokem

    Vs code is built using electron and has headless chrome inside, so technically it is a browser

  • @mrogalski
    @mrogalski Před rokem

    Not that it matters but vscode IS BROWSER, its built using electron which is basically a browser warpped around nodejs

  • @OrcanArtz
    @OrcanArtz Před rokem

    what... 😯

  • @404-UsernameNotFound
    @404-UsernameNotFound Před rokem

    I prefer Microsoft Edge Tools for VS Code also by Microsoft.

  • @sjmccabe
    @sjmccabe Před rokem

    Does this work offline?

  • @chuchuokeke
    @chuchuokeke Před rokem

    RAM usage ?

  • @superlbc
    @superlbc Před rokem

    Did you just wake up?

  • @8koi245
    @8koi245 Před rokem

    das crazy, I spent so much time looking for a light browser to use in my potato pc, ended up with chromium and ungoogled chromium

  • @stormyz_
    @stormyz_ Před rokem

    Vscode can be used in a browser. So… you can use vscode in vscode ??

  • @rvft
    @rvft Před rokem

    *built-in

  • @kyryllvlasiuk
    @kyryllvlasiuk Před rokem

    Just an Iframe. This sucks

  • @lawrencedoliveiro9104

    Now you know why it’s so bloated and slow.

    • @KevinPowell
      @KevinPowell  Před rokem

      VS Code is actually an electron app, so it's already a broswer pretending to be an app. It's built on Chromium, so this just exposes the actual broswer

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 Před rokem

      @@KevinPowell Precisely.

  • @Isaac-ro1jl
    @Isaac-ro1jl Před rokem

    Nice one

  • @MrSkinkarde
    @MrSkinkarde Před rokem

    Vs code sucks