Live data from Hacker News

Productivity tricks in Visual Studio

debugandrelease.blogspot.com

21–25 of 25 posts

Re: Productivity tricks in Visual Studio

#21
post #5

I'd been using Visual Studio for quite a while before I discovered it supported something like Vim's visual block mode - you can use alt-shift to select (and then edit) blocks of text.

I've been using VS near daily for 8 years and I had no idea about that! Thanks.

Re: Productivity tricks in Visual Studio

#22
post #20
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…

Visual Studio anti-productivity feature: if you want to turn "convert warnings to errors" on, or change .NET framework level, in a large C# solution, you have to do it in each individual project. By hand or by writing a program to rewrite the XML. The whole "project" paradigm seems to have always been a little bit broken, rather than just having a clearer "sources" and "targets" definition.

Sounds like possible situations where Directory.Build.targets would help? https://docs.microsoft.com/en-us/visualstudio/msbuild/custom...

Re: Productivity tricks in Visual Studio

#23
post #22
post #20

Earlier quoted context omitted.

Visual Studio anti-productivity feature: if you want to turn "convert warnings to errors" on, or change .NET framework level, in a large C# solution, you have to do it in each individual project. By hand or by writing a program to rewrite the XML. The whole "project" paradigm seems to have always been a little bit broken, rather than just having a clearer "sources" and "targets" definition.

Sounds like possible situations where Directory.Build.targets would help? https://docs.microsoft.com/en-us/visualstudio/msbuild/custom...

Apologies, Directory.Build.props.

Re: Productivity tricks in Visual Studio

#25

How to prevent the Visual Studio window arrangement from changing every time you breathe?

You can save the window arrangement, and restore it with a key chord.

Is there any way to prevent VS from changing the layout every time I build/finish a test run/etc.?
Post reply on HN