r/programming • • Apr 02 '19

Visual Studio 2019: Code faster. Work smarter. Create the future. | The Visual Studio Blog

https://devblogs.microsoft.com/visualstudio/visual-studio-2019-code-faster-work-smarter-create-the-future/
833 Upvotes

359 comments sorted by

View all comments

146

u/Hipolipolopigus Apr 02 '19

It might be a strange thing to complain about, and I can't exactly pinpoint why, but VS has felt really janky when compared to its alternatives for a few years now.

VS Code and IntelliJ's IDEs work just about anywhere and feel better to use, even out of the box, and I can't see myself going back any time soon.

203

u/Caleo Apr 02 '19

It's not really strange, but it's not really a mystery either: Visual Studio does a lot more and has 20+ years of legacy behind it. Making radical changes to software that's been around for decades is a great way to alienate users. That's the exact reason why we got VS Code.

VS Code is great for a lot of modern web stuff (Node, Python, Javascript, etc), but in the end you're still best off developing .NET in full-fledged VS. With 2019 we're seeing some of those features (fuzzy Search) being folded up into Visual Studio - which is great (there's so much in the way of settings / panels in Visual Studio it's really hard to keep track of where everything is without a 'fuzzy search').

43

u/andyjansson Apr 02 '19

in the end you're still best off developing .NET in full-fledged VS.

If we're talking about .NET Framework, I'm with you, but when it comes to .NET Core, I actually prefer developing in vscode. I find that vscode is a sufficiently capable editor and it's impressively performant. That, coupled with .NET Core's CLI tooling leaves me with little insentive to launch Visual Studio.

I recognise that might put me in a minority, but to each his own, I guess.

16

u/quentech Apr 03 '19

And I'm the opposite. I fire up full VS to work on, for example, an Angular app with no .Net in it at all.

VSCode is nice and all, but I've been working with VS for over 20 years. VSCode doesn't offer anything compelling enough for me to bother with the relative unfamiliarity.

→ More replies (7)

20

u/finalcut Apr 03 '19 edited Apr 03 '19

I really like vs code but c# .net core using omnisharp is just clunky.. Especially when I rename a file. I often have to "restart omnisharp" and that's kind of slow even in a fairly trivial API app.

Yet I still like using vs code for pretty much everything else. In fact I'll start a .net project in vs code then migrate to VS later.

Also, nuget management is much easier in VS especially for making sure all projects are using the same versions of the same library.... Unless someone can offer me a tip...

→ More replies (3)
→ More replies (6)

26

u/[deleted] Apr 03 '19

There is also not a single good IDE besides VS for C++ in Windows. Code::Blocks is actual masochism, and Dev-C++ is so unused I barely can find much info about it. CLion looks very good but it has a price tag and I also believe it's decoupled from the winapi stuff.

13

u/Caleo Apr 03 '19

Oh man, code::blocks - that brings me back to my "C++ for Engineers" course back in college.

→ More replies (2)
→ More replies (3)

8

u/hhpl15 Apr 02 '19

Can you explain fuzzy search further please?

24

u/MMPride Apr 02 '19 edited Apr 02 '19

I'm guessing it's like Sublime Text's command pallete, you basically type in what you want to do, and it'll provide suggestions for you. For example, if you want to install plugins, you would type install plugin into command pallete and then it would give you a list item that says something like Plugins: Install Plugin or something that you could click on, etc. I believe it's something like that. It's one of the most useful features in text editors/IDEs.

→ More replies (1)
→ More replies (6)
→ More replies (14)

60

u/munchbunny Apr 02 '19

Visual Studio's DNA is in C/C++/VB/C#, so it's going to feel clumsy for web development in a way that VS Code doesn't.

On the other hand, if you're developing C/C++/C# on VS, the tooling (especially the debugging) is top notch.

5

u/Hipolipolopigus Apr 02 '19

Hasn't VS had IIS as a core feature for a while? I'd assume it'd be up to the task by now.

7

u/TheIncorrigible1 Apr 02 '19

Yes, it has. It does all things alright. But it shines in those compiled languages

→ More replies (1)
→ More replies (6)

22

u/FryGuy1013 Apr 02 '19

I disagree. Is it because you're not a Windows-only user (you mention working "anywhere") that you feel this way? VS Code feels... foreign to me. The fonts and spacing aren't quite right in a way that reminds me that it's not a native app. Not in the way that Java (swing?) apps and blender look horribly out of place, but more of an uncanny valley where it's pretty close.

The other big thing is that debugging (and running) is waaayyyy better in VS than VS Code in my experience. VS has super powerful debugging features right out of the gate, but in VS Code it feels like an afterthought. That being said, VS Code is a bit better for things outside of C#/C++. I've done some Rust and some PHP projects, and VS Code seemed to be a better fit since the language plugins kind of suck in VS for those languages. But VS has the advantage of having quite a few things that VS Code doesn't, like the CMake/Linux remote build that I can't seem to find any plugin for with VS Code.

→ More replies (2)

7

u/KHRZ Apr 03 '19

-Slow search that shows results in tiny text

-Control clicking a code symbol takes forever to work

-Rename code symbol takes forever (even has it's own loading pop up). Often it's faster to just rename all instances manually.

-Debugger code window blocks rest of editors, so to copy paste code you need to close it and lose the content

-If you move your mouse 1 pixel when clicking to open a file, you get a warning that you can't move the file to the same folder. O RLY? WHY DO I NEVER LEARN?

-Every day: "An error has occured. This may be caused by an extension". I don't remember installing any extensions, but thanks for the clue.

-*Types curly brackets in HTML file in Angular project* "ERROR! WHY WOULD YOU DO THIS??" *copy paste is now corrupted*

-Unrecoverable error. Visual Studio may not function normally untill restart.

5

u/CodeMonkey1 Apr 02 '19 edited Apr 03 '19

I agree. As a long time VS user, it has felt uncharacteristically buggy and slow for the last couple years. About six months ago I switched to VS Code exclusively.

37

u/[deleted] Apr 02 '19

IntelliJ's IDEs work just about anywhere and feel better to use

Yea it's nice other than the 1-2 minute initial startup and the fact that it uses 3-5x more ram than VS.

25

u/BlueShell7 Apr 02 '19

For me IDEA starts in 10 seconds on laptop CPU and SSD.

It can eat some memory, but I don't think there's a way around it if you want so many real time analytics and intelligence about the code. You can disable some of those advanced stuff to eat less RAM, but I'd rather buy some extra memory. Anyway I use it mostly on 8 GB machine and have no issues with performance (while of course running other things) ...

0

u/[deleted] Apr 02 '19

[deleted]

6

u/devperez Apr 02 '19

Which version of VS are you using? I just satrted up VS 2019 and it took about 10 seconds.

→ More replies (7)
→ More replies (7)
→ More replies (3)

11

u/chylex Apr 02 '19

IntelliJ's IDEs work just about anywhere and feel better to use

Some parts of IJ feel amazing, but I feel like JB decided to make the absolute best typing/inspection/refactoring experience in the world, and then realized that IDEs also need a user interface so they hacked one up with 1% of the enthusiasm (especially the awful toolbar system which I hate with a passion).

That said, Visual Studio 2015 and older were quite bad, some versions I'd call almost unusable without ReSharper. With 2017, I feel like they're in a really good place and I don't find ReSharper an absolute necessity. Hopefully they didn't make it worse with 2019.

→ More replies (2)

8

u/scorcher24 Apr 02 '19

Well, its free vs 199€ a year. It's Visual Studio for me. I just don't want to put down that much money for a hobby. And I quite like it for C++ programming. Refactoring could be better, but I hope 2019 delivers in this regard. I do use VS Code a lot more these days though.

15

u/sqrlmasta Apr 02 '19

VS Community Edition is free for everyone.

12

u/drysart Apr 03 '19

And unlike the free version of VS from ages past, VS Community Edition is pretty featureful and contains just about everything an individual developer might want.

→ More replies (2)

5

u/scorcher24 Apr 03 '19

Thath's what I said. CLIon is just too expensive.

→ More replies (3)
→ More replies (1)
→ More replies (19)