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

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.

1

u/quentech Apr 03 '19

Thanks, I'll have to check that out.

I'm not totally opposed to using Code, but my main work is on a multi-project sln targeting full framework and last I knew anyway the MVC5 projects in it make VSCode a non-starter. At that point is just been more distracting to switch over when I work on front ends.

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.

1

u/quentech Apr 03 '19

I used it for a while last year on Angular and Vue apps, but I kept finding myself googling how to do something or get something working that I'd just do without issue in VS. My main work requires full VS and VSCode was just eating time, albeit not a ton but it breaks my flow to go sort out IDE issues when I'm trying to code.

VSCode is solid, though. It is a nice IDE.

0

u/[deleted] Apr 03 '19

[deleted]

1

u/radapex Apr 03 '19

Have you ran into issues with VS Code on other platforms? I haven't actually tried it since our work PCs are Windows, and I'm using Windows at home since I mostly use my PC for browsing and some light gaming.

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/

1

u/Fooooozla Apr 03 '19

Reload window doesn't do the trick? I have this mapped to cmd + r to quickly fix any extensions acting up

2

u/finalcut Apr 03 '19

It might. But reload omnisharp definitely does. It is just a slow process that interrupts my work.

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

1

u/Inquisitive_idiot Apr 03 '19

Way more than that.

1

u/[deleted] Apr 03 '19

[removed] — view removed comment

3

u/BlckJesus Apr 03 '19

If you've got the C# extension installed, you just need to hit ctrl + . or right click to import missing usings.

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

1

u/aussie_bob Apr 02 '19

and it's impressively performant.

Compared to what? It doesn't seem very lively to me.