Live data from Hacker News

Productivity tricks in Visual Studio

debugandrelease.blogspot.com

1–10 of 25 posts

Re: Productivity tricks in Visual Studio

#2
It’s a little opposite of the topic, but am I the only one who’s noticed a considerable downturn in the productivity of VS?

Yesterday I wanted to import “Microsoft System Center Orchestrator Web Service” in a C# project, something which used to be a simple “add service reference”, only to be greeted by “we don’t import ODATA services this way anymore...” message and sent to some obscure framework for it. The first framework didn’t work with authentication and the second was so complicated that we ended up building it in Python instead of C#, using Visual Studio Code instead of Visual Studio.

That last bit seem to be a common thing. More and more we use VSC instead of VS, and last year it made us downgrade our enterprise subscription to VS because it didn’t seem worth it anymore.

Don’t get me wrong, it’s a decent article, I just didn’t value being reminded of TODOs as much as the actual time saving features which are slowly disappearing one by one. I mean, you can’t even build a non-empty project without drowning in bloat anymore. While it’s certainly rarely advisable to so in the first place, it can be useful with standard project bits on internal projects. We used to use MVC for that, now we use Django.

Re: Productivity tricks in Visual Studio

#3
A few extra tips:

- Typing the text "nguid" (new guid) will generate and let you pick from a GUID in a popup list inline, while coding. - If you're debugging multi-threaded apps and in a breakpoint, you can open the Threads list and Freeze other threads to stop them running while you debug a particular thread and step+continue etc (wish there was an easier way?) - ReSharper is amazing (https://www.jetbrains.com/resharper/)

Re: Productivity tricks in Visual Studio

#4
post #3

A few extra tips: - Typing the text "nguid" (new guid) will generate and let you pick from a GUID in a popup list inline, while coding. - If you're debugging multi-threaded apps and in a breakpoint, you can open the Threads list and Freeze other threads to stop them running while you debug a particular thread and step+continue etc (wish there was an easier way?) - ReSharper is amazing ( https://www.jetbrains.com/resh…

Cool tip about threads, thanks!

What do you like about Resharper these days? The performance impact got too much for me so I got rid of it after being an avid user for many years.

VS-inbuilt Go To Everything, refactorings, and some Rosyln Analyzers like Roslynator do most of what I was using Resharper for.

Re: Productivity tricks in Visual Studio

#6
post #2

It’s a little opposite of the topic, but am I the only one who’s noticed a considerable downturn in the productivity of VS? Yesterday I wanted to import “Microsoft System Center Orchestrator Web Service” in a C# project, something which used to be a simple “add service reference”, only to be greeted by “we don’t import ODATA services this way anymore...” message and sent to some obscure framework for it. The first fr…

I only use VSC for TypeScript and Rust related stuff.

As someone that works mostly in a .NET full stack context across native and Web, VSC still has a lot of catchup regarding VS capabilities.

Re: Productivity tricks in Visual Studio

#7
post #6
post #2

It’s a little opposite of the topic, but am I the only one who’s noticed a considerable downturn in the productivity of VS? Yesterday I wanted to import “Microsoft System Center Orchestrator Web Service” in a C# project, something which used to be a simple “add service reference”, only to be greeted by “we don’t import ODATA services this way anymore...” message and sent to some obscure framework for it. The first fr…

I only use VSC for TypeScript and Rust related stuff. As someone that works mostly in a .NET full stack context across native and Web, VSC still has a lot of catchup regarding VS capabilities.

I agree, though maybe not with .Net core. It’s a personal preference, but I like the mix between VSC and the .Net Core CLI better than VS.

.Net isn’t set in stone in our shop though. It’s been good to us for almost two decades, but recently it’s often in the damn way. Like with the orchestrator webservice. It’s Microsoft techs at both ends, yet it’s easier to build it in python, just doesn’t make sense.

Re: Productivity tricks in Visual Studio

#9
post #3

A few extra tips: - Typing the text "nguid" (new guid) will generate and let you pick from a GUID in a popup list inline, while coding. - If you're debugging multi-threaded apps and in a breakpoint, you can open the Threads list and Freeze other threads to stop them running while you debug a particular thread and step+continue etc (wish there was an easier way?) - ReSharper is amazing ( https://www.jetbrains.com/resh…

Visual Assist X should also get a mention. A lot of useful productivity features.
Post reply on HN