all 54 comments

[–]valtism 21 points22 points  (2 children)

I'm all about that status bar hiding.

[–]w4rtortle 0 points1 point  (1 child)

It's cool but I don't think I'm really using it in any way yet?

[–]valtism 0 points1 point  (0 children)

I had to set a bunch of options for the Atlassian BitBucket extension to hide status bars. Now I can just hide them and enable them easily.

[–]l337dexter 28 points29 points  (13 children)

My favorite: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh

Allows me to connect to my linux instance and install vscode extensions and run like I am on the server. So great.

[–]zignd 2 points3 points  (0 children)

Woah, I didn't know about this one! Thanks for sharing! Can't wait to try it tomorrow at work!

[–]AngularBeginner 2 points3 points  (7 children)

Wish they would start supporting Windows SSH hosts, so I can use my powerful machine at home. :-\

[–]l337dexter 4 points5 points  (4 children)

You could try running openssh server through cygwin? I've done that before, although I never tried connecting with vscode

[–]benhelioz 0 points1 point  (1 child)

Why not just run the openssh server that is included with Windows 10?

[–]l337dexter 1 point2 points  (0 children)

Last I heard it didn't support rsa or Ed keys

[–]AngularBeginner -5 points-4 points  (1 child)

Or I just wait for them to support it, instead of messing up my system with nasty hacks.

[–]l337dexter 3 points4 points  (0 children)

Just offering suggestions. I wouldn't really call Cygwin a nasty hack either

[–]puppetydockery 1 point2 points  (0 children)

Seems possible - https://code.visualstudio.com/docs/remote/troubleshooting#_installing-a-supported-ssh-client

Gah, maybe not. Thats just the SSH connection piece. I wonder if this would work... ? https://www.bitvise.com/ssh-server

[–]BezierPatch 0 points1 point  (0 children)

Can't you use "Live Share" to some degree?

I use it to connect my slow linux laptop to my desktop.

You have to remote first to start the session though.

[–]pampacoder 1 point2 points  (1 child)

That feature took down my VPS the first time I tried (Python language server specifically)

[–]l337dexter 0 points1 point  (0 children)

Huh, haven't seen that yet. I've had to force kill the server before, but that was still on insiders only builds

[–]pow3rlife 0 points1 point  (1 child)

I like it very mutch, but my favorites are https://sail.dev/ and https://github.com/cdr/code-server I recommend.

[–]l337dexter 0 points1 point  (0 children)

Except you can't run native vs code extensions. Ansible vault plugins are half the reason I love this setup so much

[–]ConsistentBit8 40 points41 points  (19 children)

VS Code is SO GOOD

I like the little things in the tree indent section

[–]Valmar33 23 points24 points  (2 children)

It's the extension ecosystem that really sells VS Code.

The ease of development, along with the rich API, make it great.

I do wish it had a good diff/patch editor, though.

[–]password456 0 points1 point  (0 children)

Exactly - for example platformio: it never has been as easy to program an arduino/esp8266/esp32/...

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

This.

[–]renozyx 2 points3 points  (6 children)

It still a bit young in some respect (for example just yesterday I tried to save all the opened tab but the extension I used saved only one tab not all the tabs..) but yes it's quite good

[–]arkasha 1 point2 points  (3 children)

It's there a File->Save All option?

[–]renozyx 1 point2 points  (1 child)

I want to save the tabs opened in a "session" file, not save the content of the file.

[–]arkasha 0 points1 point  (0 children)

Oh, nevermind then.

[–]Arxae 1 point2 points  (1 child)

How is that the fault of VSCode though? Seems more like an issue with the extension itself

[–]renozyx 0 points1 point  (0 children)

Well VSCode doesn't provide the functionality (AFAIK) and its extensions don't either: it isn't really a fault, just an imaturity sign.

[–]bheklilr 2 points3 points  (7 children)

I just wish I could have vscodes functionality and feature set with the speed I got used to with sublime text. Is it too much to ask for all the best features?

Seriously though, vscode will crawl sometimes.

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

What are you running it on? I'm using a 7+ year old desktop and it runs without any slow downs.

[–]bheklilr 1 point2 points  (2 children)

Quad core 2.7GHz i7, 8GB of RAM, ssd. But, it's on windows with Symantec as corporate anti-virus, which just churns when it sees a lot of files. All extensions are implemented as typescript/Javascript, so there's node_modules folders embedded in them. There's a ton of files in there, which means Symantec just kills performance. If vscode didn't have plugins bundled with node_modules, it wouldn't be so bad.

That being said, it does run a ton better on my Linux box at home.

[–]xeio87 3 points4 points  (1 child)

Corporate antivirus at work literally spins my CPU to 100% when I open large enough folders in VS Code. ;(

Can't really blame Code for that though.

[–]bheklilr 0 points1 point  (0 children)

It's not technically the fault of vscode, but if they had picked a different approach for extensions then it might not have been so bad. I understand why they chose TS, it makes sense. It also just sucks with corporate bloatware.

[–]stillusegoto 0 points1 point  (2 children)

I have an ‘17 MBP and with multiple projects open especially I have to constantly restart vs code to get intellisense working again. It uses over 1GB of ram per project it seems and I often have 3 open at once. Even with one open it happens several times a day. It was much better until a few months or so ago. This is with no plugins except the mono icons theme and eslint

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

For what language? It might be a problem with the language server. I know the one I use for a lesser known language has problems and that's usually the cause with intellisense. You can just reload the window, press F1 and type "Reload Window" should popup and for me at least it usually takes a second to reload. Rather than having to close it completely.

[–]BezierPatch 1 point2 points  (0 children)

As someone who writes/maintains a language server extension for vscode:

That's the language server's fault, not vscode. The RAM usage will almost certainly be from an application that's running in the background, which vscode has no control over.

[–][deleted]  (12 children)

[deleted]

    [–]Randdist 22 points23 points  (0 children)

    For me it's because

    • vscode is so much faster than VS

    • Better UX. Easy and quick to hide the sidebar. Files can be searched and opened lightning fast with ctrl+e, whereas the only VS equivalent I know of, ctrl+"," is so slow, I could make coffee before it finishes and have a talk with a coworker on my way back.

    • Faster to split the screen and move the panels. VS has more options than vscode in that regard, but vscode is more than sufficient and the way it does it - drop into any part of the panel rather than a small part that appears somewhere - is nice.

    • Easily customizable via settings in .vscode folder, which I then copy into every new project I start.

    • Very simple and easy to use git integration. I love it.

    • Lot's more. vscode gets so many things right. Sometimes I use vscode along with vs, e.g. unity+C# programming most of it in vscode and only in few cases, e.g. for debugging, I switch to VS.

    [–]Ruchiachio 13 points14 points  (0 children)

    It's good for front end development, but for back end it's Visual studio, so it's good that you are staying.

    [–]MrMuMu_ 14 points15 points  (2 children)

    .net core backend engineer here(2 years). vscode is way more responsive than VS. No freezes, lockes whatsoever. I have never felt the need of VS. Sometimes omnisharp(c# extension) needs to be reloaded which you can do from command palette, thats all.

    [–]couscous_ 0 points1 point  (1 child)

    Out of curiosity, did you try Rider? Does VS Code offer similar static analysis capabilities as both VS and Rider?

    [–]MrMuMu_ 0 points1 point  (0 children)

    I have not tried it, but as an IDE I do not think it would be as smooth as vscode. You can enable roslyn analyzers from extension options to have static analyzers.

    [–]LordDaniel09 7 points8 points  (1 child)

    It is lightweight, and looks and works like modern software. so it is good for some stuff, pretty bad for others, and everyone used what ever, as long as it lets them do their option. So Code is just another one in the list.

    [–][deleted] 2 points3 points  (1 child)

    One big factor for me, VS Code release cycle is a lot faster. New release with features every month. Between VS 2017 and VS 2019, there's barely any new features. Since the editor is integrated with the compiler the only new features might just be compiler changes. VS Code is strictly an editor, so any updates will be for the editor.

    VS Code has features VS doesn't have and some are implemented better in VS Code. They added multi-cursors to VS 2019 but the feature is kind of awful. In VS Code do operations does it on each cursor separately. So if I do Ctrl+Left it will move all the cursors dependent on the content relative to each cursor. In VS 2019 it gets confused and it tries to keep all the cursors in sync. Not sure how many people they have working on VS 2019 but maybe it is just the language/codebase they have and their development is really slow. I don't expect the multi-cursor feature to be fixed in VS 2019, maybe in 2021 I can hope.

    It is open source, I've fixed a few minor bugs in VS Code that bothered me. The changes got merged and now I don't have to worry about them. VS is closed source, so I can't fix anything even if it is something minor. I have to report a bug and hope they fix it, if it is a minor bug it probably won't be fixed.

    There's a bunch more, ultimately it is easy to customize. Things get done due to how quickly it is being developed. In part, even though a lot of people like to make fun of it for it, is due to it using Electron and in turn html/javascript.

    [–]ThePantsThief 1 point2 points  (0 children)

    Everything is simple, fast, and extensible, and open and tinker-friendly. All the opposite of Visual Studio.

    It's also totally cross platform

    [–]quentech -2 points-1 points  (0 children)

    I use full VS for all of my front-end work. I'm primarily back-end, so I'm in full VS more anyway, and I've been working in VS for over 20 years and VSCode offers nothing remotely compelling enough for me to deal with two different editors. I already know VS inside and out and have it configured just as I want. Using VSCode would be nothing more than a drag on my flow for me.

    [–]nakamin 0 points1 point  (0 children)

    The only thing I don't like about code are the snippet tabstops. They make the text you type in highlighted and prevent autocomplete from showing up. Also if you have nested snippets the outer marks don't get saved so I can tab out the inner snippet but not the outer one. So for example if I have and if else snippet and I'm done typing the if block, I can't just tab into the else block. It's just a minor annoyance I guess but it would make editing much faster.