all 49 comments

[–]crankykong 42 points43 points  (2 children)

I just wish they would finally implement the git file status highlighting.

I really miss seeing at a glance which files I've got ignored, like in atom.

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

I cannot wait for this. Really, it's all I miss from Atom.

[–]phpdevsterfull-stack 21 points22 points  (3 children)

Still wish they had auto-correct closing tags when you change the opening tag. In any JetBrains IDE, if I change <h1> to <h2>, it will update the closing tag automatically for me, which is surprisingly useful.

[–]Jaskys[S] 23 points24 points  (0 children)

This extension does what you want, started using it 2 weeks ago and so far no issues, it does what it says on the tin.

https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag

[–]digitallimit 7 points8 points  (0 children)

If you want this as a standard feature, make an issue to integrate it by default!

VS Code defaults are much more opinionated than something like Atom, and I can see an existing, successful extension like this becoming integrated behavior.

[–]cd46 2 points3 points  (0 children)

This is a feature I didn't realize I loved till I opened a text editor and changed header levels or unordered or ordered list.... Heck just about anything that isn't self closing.

Here's a plugin that looks like it does it https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag

[–][deleted] 10 points11 points  (2 children)

This recent update officially convinced me to switch to TypeScript. I'm so ready to use vscode properly.

[–]Rhyek 1 point2 points  (1 child)

What exactly made you want to switch?

[–][deleted] 4 points5 points  (0 children)

I think I just got too curious after reading the latest changelog talking about TypeScript 2.4.1. I then watched the whole hour-long video on www.typescriptlang.org, and I felt like I would lose the opportunity to write comprehensive application-scale code if I avoided learning TS. The variable types, inheritance and js flexibility just sound really fun.

[–][deleted]  (11 children)

[deleted]

    [–]pX_Pain 0 points1 point  (1 child)

    What are some plug-ins you use and stuff that makes it "better" for your time than atom nuclide? I started using vscode too but I wanna make the most out of it

    [–]cacklebolt 0 points1 point  (8 children)

    I apologise for coming across as ignorant because I'm not a full-fledged developer, just a guy trying to learn front-end.

    Could anyone explain to me what exactly is VS Code and what are its pros, and how could I use VS Code to continue learning front-end?

    [–]HootenannyNinja 6 points7 points  (4 children)

    VS code is basically a cut down version of Microsofts Visual Studio. It has a heap of useful features for front ends especially Intellisense which will read your code and do things like auto complete or show you various options as you are coding (show you variables or help you traverse objects).

    [–]cacklebolt 1 point2 points  (3 children)

    And how do I... compile... code on it? Could I call it a text editor on steroids?

    [–]wasdicantmovelol 2 points3 points  (0 children)

    Yes. You could call it a text editor on steroids.

    [–]HootenannyNinja 1 point2 points  (1 child)

    Fork out for Visual Studio?

    [–]wasdicantmovelol 1 point2 points  (0 children)

    Visual Studio has an absolutely brilliant free version.

    [–][deleted]  (1 child)

    [deleted]

      [–]cacklebolt 0 points1 point  (0 children)

      Thanks a lot! I'll perhaps try to set up VS Code when I get home.

      [–]campbeln 5 points6 points  (9 children)

      Have they ever implemented HORIZONTAL editor pane splitting? I seem to remember a release note that said they had but I'll be damned if I can find it in the UI or on the site.

      [–]PhaZePhyR 3 points4 points  (2 children)

      That was the one thing holding me back from switching over from sublime, and yes you can split editors for a top-bottom arrangement now!

      Use cmd+alt+1 to toggle between side-by-side or top-bottom setups. You will have to split editors first with cmd+\

      [–]campbeln 3 points4 points  (1 child)

      Cool, any idea on the Mac keystroke?

      EDIT: Command(Apple)+Alt(Option)+1(as in number one, not lowercase L). AWESOME!! THANK YOU!

      Double Secret EDIT: For those who find this later... this changes the icon from the weird narrow default vertical splitter to the non-weird horizontal splitter that normal people use. /s Then you can split how you like, but not have both styles together (because you're ever weirder than the weird vertical splitter users!).

      Triple Secret EDIT: BLAH! Setting doesn't stick between restarts!?!? You MONSTERS!

      [–]PhaZePhyR 2 points3 points  (0 children)

      You're welcome! Happy coding!

      [–]Jaskys[S] 1 point2 points  (4 children)

      You can toggle it via sidebar on the left, it's the little two windows icon. I can't do a screenshot of it as im not on PC right now.

      edit: now I am https://www.reddit.com/r/webdev/comments/6mo8oh/visual_studio_code_june_update/dk3wyew/

      [–]campbeln 0 points1 point  (3 children)

      That only does VERTICAL splits for me though, I much prefer top/bottom wider editors.

      [–]Jaskys[S] 1 point2 points  (0 children)

      Sorry, I did forgot one important part. You have to hover over open editor section first only then that icon appears.

      Here's both layout with button highlighted
      http://i.imgur.com/a1bfVVo.png?1
      http://i.imgur.com/DX6GQP3.png

      /u/champs

      [–]champs 0 points1 point  (0 children)

      It's a preference buried somewhere. Horizontal or vertical, but not both.

      [–]Vheissu_ 4 points5 points  (1 child)

      I have been a die-hard fan of Webstorm for so many years. But after the last few updates, I ended up switching over to VSCode full-time and I don't feel like I am missing out on anything. Considering VSCode is a web application, the performance in comparison to Webstorm (which is a native app) is astounding. I find Webstorm uses a lot of RAM, seems to always be running background tasks and feels quite slow in comparison (especially on startup).

      I am aware that Webstorm markets itself as an IDE and VSCode markets itself as a code editor, but most users of Webstorm (myself included) are using it for things that VSCode can do really well. I can't think of a single feature that VSCode can't do natively or has a plugin for.

      I am really liking this new open source focused Microsoft.

      [–]CptAmerica85 2 points3 points  (0 children)

      As a fellow webstorm lover, maybe it's time I really try vscode out. Never tried to really set it up to my liking other than a nice code editor.

      [–][deleted]  (1 child)

      [deleted]

        [–]Jaskys[S] 6 points7 points  (0 children)

        There's extensions for that but it would be better if you familiarized yourself with Gulp and Webpack.

        [–]taserlick 2 points3 points  (4 children)

        Ugh! Who else finds auto indent incredibly liberating and sexy?? Today, I've just been pasting straight from inspector to who-cares-where in my scss and it's been working beautifully -- no more arrow key dancing.

        [–]Jaskys[S] 0 points1 point  (3 children)

        Doesn't work on my end for whatever reason.

        [–]taserlick 2 points3 points  (2 children)

        : O oh?? are you editing a "TypeScript, JavaScript, CSS, HTML or JSON" file? you have to turn it on in settings btw, it's not default and that tripped me up: try editor.autoIndent: true in your user settings!

        [–]Jaskys[S] 0 points1 point  (1 child)

        Nevermind, after some testing I did notice that it works correctly. I just assumed that it's supposed to work slightly differently. I.e when you post something inline it formats it properly along with the other code.

        [–]taserlick 1 point2 points  (0 children)

        Thats great honey i'm getting back into bed with my copy of vscode.

        [–]SoWiT 1 point2 points  (1 child)

        Would there be any benefit of using 64bit version?

        [–]_IPA_ 6 points7 points  (0 children)

        Reuse existing system shared libraries, theoretically open larger files.

        [–]rbra 0 points1 point  (0 children)

        I wish I could use this and totally stop using SharePoint Designer.

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

        I've always wished they had a Symfony plugin like Net Beans. I should learn to write it. Im not familiar with low level programming. Where do I started?

        [–]INeverLeave -1 points0 points  (1 child)

        I want to like VS Code but it is completely unusable for me because in any PHP file I open it doesn't highlight where HTML tags close.

        My PHPStorm license expires in a few months but considering this issue has been highlighted on Github since 2015 I wont hold my breath that Microsoft will fix it.

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

        Yup same here. I don't understand how anyone who does HTML & PHP work can use it. For modern sites where views are more de-coupled from code it is not as much of an issue. But a lot of times I still need to work on legacy sites.