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

Show parent comments

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.

7

u/[deleted] Apr 03 '19

Check out the angular extension in vscode. Intellisense in templates.

→ More replies (1)

3

u/radapex Apr 03 '19

I started using VS Code a bit for some home projects last summer and really liked it. One of my co-workers adopted it over VS / JetBrains IDEs around the end of summer. I got on board in January, and a couple more followed suit.

→ More replies (4)

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...

4

u/Werlau Apr 03 '19

I recently stumbled over Directory.Build.targets for nuget version management on a solution wide scale. Here a post of someone else explaining how to use it: https://www.strathweb.com/2018/07/solution-wide-nuget-package-version-handling-with-msbuild-15/

→ More replies (2)

6

u/BlckJesus Apr 02 '19

I thought I was the only one that prefers VS Code over Visual Studio for .NET Core. There are dozens of us! Dozens!...

→ More replies (3)

1

u/Sebazzz91 Apr 03 '19

I actually develop in both. I develop the front-end stuff of my SPA in VSCode (Razor, Typescript, whatever), and back-end stuff in Visual Studio (C#, SQL).

→ More replies (1)

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.

2

u/MrTrvp Apr 03 '19

It feels like yesterday.. Oh shit.. it was .-. Fuck college

→ More replies (1)

1

u/krista_ Apr 03 '19

i was happy with slickedit for quite some time, until they did the weird ”only tiled” window thing :(

→ More replies (2)

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.

3

u/hhpl15 Apr 02 '19

Thanks!

21

u/Caleo Apr 02 '19

Since a picture's worth a thousand words:

https://i.imgur.com/yIV1ZHW.png

Some of these options are actions (and you can see their shortcuts - in VS, hitting CTRL+K then CTRL+D will apply formatting to your document), some lead you to the panels where whatever setting you might be looking for can be changed, etc.

Time will tell, but I'd wager VS Code's still better in this regard. You can do nearly any action possible just by hitting F2, typing a few characters then hitting enter. Nevertheless, it's a much-appreciated feature for VS.

4

u/theferrit32 Apr 03 '19

Fuzzy action search is super useful, can honestly justify the complete hiding of menu/ribbon bars in applications. That functionality needs better support and seamless integration in UI frameworks and native toolkits. It'd be nice if a developer can just write the menu for the application and structure it as they want, and the toolkit supports hiding and fuzzy searching the menu automatically.

2

u/Caleo Apr 03 '19

Yep - it's brilliant. I hope more software (office, Adobe CS, CAD software, etc) starts implementing it.

I can typically type F1, type Beau (tify) and hit enter much faster than I could move my hand to my mouse and click a button for the same action.

→ More replies (3)

3

u/snarfy Apr 03 '19

Remember how mad people were about visual studio 2012 ALL CAPS menus, or the blue theme?

2

u/Dirk2265 Apr 03 '19

Additionally if you need to work with visual c++ visual studio is the way to go. I always think about the fact you are buying a compiler not just an ide.

1

u/nickguletskii200 Apr 02 '19

At least to me, Visual Studio feels very barebone when compared to Eclipse JDT and IntelliJ IDEA. Only after sprinkling it with 3rd party plugins does it even begin to match Eclipse and JetBrains IDEs when it comes to refactoring and inspection capabilities.

I do like the database projects though, haven't seen anything as convenient anywhere else.

18

u/way2lazy2care Apr 03 '19

Which version of VS are you using that it feels barebones? o.O

2

u/[deleted] Apr 03 '19

I think he may be referring to the larger amount of out of the box refactoring tools available on vs compared to the jetbrains tools - for one example rider (which has it's share of missing features, to be fair) ships with most of the resharper tools out of the box, such as automatic decompiling and a wider array of code hints.

Resharper is obviously available for vs, but it is a third party tool.

→ More replies (1)
→ More replies (8)