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.
Productivity tricks in Visual Studio
21–25 of 25 posts
Re: Productivity tricks in Visual Studio
#22It’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.
Re: Productivity tricks in Visual Studio
#23Earlier 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...
Re: Productivity tricks in Visual Studio
#24alt + ; then p to publish the current file
ctrl + k then d to format the document