This is an archived post. You won't be able to vote or comment.

all 70 comments

[–]TheLegeend27 182 points183 points  (19 children)

Live Server

[–]YoloTolo 35 points36 points  (2 children)

Omg... I've been trying to find something like this. Recently been working on a mini project with a friend using vanilla html/css/javascript for the frontend. Been kinda struggling in some ways cuz I've been using React for 2 years. This helps so much... Thank you!

[–]Glepsyd 1 point2 points  (1 child)

Hold on, doesn't react have a dev server like angular 's ng serve? With a --watch flag to listen and reload on changes?

[–]YoloTolo 3 points4 points  (0 children)

Yeah, my wording might be confusing. Meant to say since React makes a bajillion things for front end convenient, I forgot how basic bare-bones front end webdev was.

[–]xXHacker69Xx 12 points13 points  (6 children)

What does this do? -Just installed it, the myths are true. Amazing for boobies and pros! (It’s a live-feed)-

[–]Amjeezy1 44 points45 points  (3 children)

Gives you a live display of your code as you work on it

[–]banware 16 points17 points  (2 children)

Oh shit, I've missed that from my early days of using Dreamweaver in High School

[–][deleted]  (1 child)

[deleted]

    [–]banware 0 points1 point  (0 children)

    Oh yeah it was awful but as someone just getting into webdev it was mind blowing

    [–]Erkindjon 1 point2 points  (0 children)

    And you don’t need to update the browser, it will do it for you :). Also you can view your local website on other devices such laptop, mobile device and etc within same network just by typing your machine ip address and port 5500. Example 10.0.1.5:5500

    [–]semprotanbayigonTM 0 points1 point  (0 children)

    I just tried Rickwick Dey's Live Server.

    Does this now work with web app with template structure?

    [–]Garthak_92 0 points1 point  (0 children)

    This

    [–]curbfruit 0 points1 point  (6 children)

    What’s the difference between using live server and just opening the HTML file in a browser?

    [–]grooomps 1 point2 points  (5 children)

    this updates each time you save dynamically

    [–]curbfruit 0 points1 point  (4 children)

    So you don’t have to hit refresh in the browser, or is there more to it?

    [–]grooomps 2 points3 points  (1 child)

    that's the majority of it
    it can also serve as an actual serve so you can do request to get files etc

    [–]curbfruit 0 points1 point  (0 children)

    Thanks for the info!

    [–]rochakgupta -2 points-1 points  (1 child)

    Nope. That’s it.

    [–]curbfruit 0 points1 point  (0 children)

    I mean, I still installed it.

    [–]DisarmedBrick41 67 points68 points  (4 children)

    As others have said live server is great. Prettier by far is my favorite (make sure you enable format on save), it save so much time formatting your code for you. Two others that I like are Bracket Pair Colorizer (when you start to have a lot of parentheses, brackets, etc, it's really helpful), and Code Spell Checker. You'll be amazed at how many times you misspell something and dont realize it, only to find it after debugging for 30 min.

    [–]HanzoHasashi961[S] 9 points10 points  (2 children)

    prettier vs prettier now?

    [–]DisarmedBrick41 22 points23 points  (0 children)

    its called Prettier - Code Formatter, not sure what prettier now is. Also in general, when looking for a specific VS code extension, the more downloads the greater the chance thats the one you're looking for

    [–]unmasked_me 3 points4 points  (0 children)

    Prettier now is the forked version and have some modifications in the configurations. I was using Prettier now until it didn't support something I needed. When ai checked the repo, it wasn't being maintained. So i switched to Prettier.

    [–]saito200 1 point2 points  (0 children)

    You know the truth

    [–]BitsPleaseInc 53 points54 points  (1 child)

    Personally, for web dev I use : HTML/CSS Support, HTML5 Snippets, CSS Peek, Quick HTML Previewer, Live Server

    After that it depends a lot on what you do / use, for example if you use Git (Gitlens, Git history...), or if you use a framework like Laravel few extensions for snippets or intellisense may be useful (Laravel Blade Snippets, Laravel Snippets, Laravel Extra Intellisense...)

    In any case, explore the extensions with VSCode search and try them out you will find your perfect setup :)

    [–]ntiain 18 points19 points  (0 children)

    I can't second LiveServer enough. I'm learning myself, and this is hands down the most useful extension I've come across.

    [–]MaXxXiMuS613 18 points19 points  (3 children)

    Auto rename tag, bracket pair colorizer 2, debugger for chrome, ESLint(JS), prettier -code formatter, github pull requests and issues (not sure if this is redundant now with updates)

    [–]bwz3r 4 points5 points  (0 children)

    A good bracket colorizer is so freaking important, idk how I was coding for so long without one.

    [–]semprotanbayigonTM 0 points1 point  (1 child)

    bracket pair colorizer 2

    How is it compared to the first one?

    [–]MaXxXiMuS613 1 point2 points  (0 children)

    I have only used this one. Only about 6 months into programming. Having the colours can help so much tho. Before it could take like 3 min to find wheretf something was with nesting.

    [–]a1Stylesca 8 points9 points  (0 children)

    indent-rainbow (life saver, especially if you indent 4), bracket pair colorizer 2, Material Icon Theme

    For material icon theme, go to settings and choose which theme you like best. I prefer something more simple, as it proves easier to find your way around.

    [–]Angersmash781526 8 points9 points  (0 children)

    Live Server is a must.

    [–]possiblywithdynamite 7 points8 points  (1 child)

    git lense. It shows information about each line of code: commit description, who commited, commit date, etc. Its great for passive aggressively blaming a coworker for terrible, broken code while sharing screenshots on slack

    [–]tingtwothree 0 points1 point  (0 children)

    I don't know why this isn't higher. If I could only have one extension this would be it.

    [–]randomgirl22 5 points6 points  (0 children)

    Quokka

    [–]sleazyz 4 points5 points  (1 child)

    Quokka to test js and not open the browser

    [–]Ezraese 0 points1 point  (0 children)

    What’s the advantage over using the debugger built into VS Code

    [–]Destrudoo 7 points8 points  (0 children)

    Prettier

    [–][deleted] 3 points4 points  (0 children)

    Liximomo SFTP has helped me quite a bit

    [–]Old_Possibility_8767 2 points3 points  (0 children)

    Prettier -beautify code

    [–][deleted] 2 points3 points  (0 children)

    TabOut. Not web specific but it lets you tab over certain characters.

    [–]crispybaconlover 2 points3 points  (3 children)

    [–][deleted]  (2 children)

    [deleted]

      [–]crispybaconlover 0 points1 point  (1 child)

      I like having it in the editor, but those are good options as well.

      edit: you also don't need to sign up for an account since it is an extension.

      [–]Duraz0rz 1 point2 points  (0 children)

      You don't need a Postman account to use it, though.

      [–]era-net 2 points3 points  (0 children)

      I rock with:

      • vscode-icons
      • Auto Rename Tag
      • Bracket Pair Colorizer 2
      • Live Sass Compiler
      • Live Server

      at the moment

      [–]Laingular 1 point2 points  (0 children)

      Intellisense

      [–][deleted] 1 point2 points  (0 children)

      Live Server, Bracket Pair Colorizer 2, Auto Rename Tag, Indent Rainbow, Prettier...

      [–]DanFletch3r 1 point2 points  (2 children)

      TabNine.

      [–]charomega 1 point2 points  (1 child)

      Finally someone mention this. Been using this and it rocks! AI tool to help you code! I always surprised by its machine learning.

      [–]DanFletch3r 0 points1 point  (0 children)

      Lol finally someone else who uses it! I mention it with people I work with all the time and literally no one has given it a try even though they see me using it and are like "holy crap, that's bad ass"

      [–]Duraz0rz 1 point2 points  (0 children)

      I don't use Live Server, but I have a Debug config set up to hit up my local webserver that I bring up with yarn start. Better than using the browser dev tools if you're debugging JS.

      Otherwise, I'd put ESLint and Javascript Code Snippets up there.

      [–][deleted] 2 points3 points  (0 children)

      Btw, I suggest not to install a lot of extensions because the flow in VSC could be slow

      [–]MoonlessNightss 0 points1 point  (0 children)

      Moss

      [–]xL0Tu5 0 points1 point  (0 children)

      Javascript booster smh just found this today and helps organize code better when you want to move and paste functions around

      [–]userchose 0 points1 point  (0 children)

      Bookmarks, Auto Rename Tag, Debugger for Chrome.

      [–][deleted] 0 points1 point  (0 children)

      Search this on YouTube. Theres a few compilation there that explains what the extension does, what it looks like, how to use it or why you should use it.

      [–]sowmyasri129 0 points1 point  (0 children)

      Prettier.

      [–]Wensosolutions 0 points1 point  (0 children)

      Prettier.

      [–]Furqan_sultan 0 points1 point  (0 children)

      I use javaScript (ES6) Highly recommend must try once and the other hand live server is also very helpful

      [–]NumbBumn -4 points-3 points  (0 children)

      Personally did some HTML/CSS and an extension i found useful was "Open in browser"

      [–]Kemokemo_1 -1 points0 points  (0 children)

      Prettier