I have ctrl+q (in editor) do the following. Reformat, order usings, and close the file.
Davy Hexed into a portable ouija board. -----Original Message----- From: "Mark Thompson" <[email protected]> Sender: [email protected] Date: Fri, 29 Jun 2012 20:01:37 To: 'ozDotNet'<[email protected]> Reply-To: ozDotNet <[email protected]> Subject: RE: no more Macros for VS2012! Hi Jano, I use CTRL + E, D ("Format Document" under Edit > Advanced menu in VS2010) - this should remove any trailing whitespace from all lines as well as format the file as per the formatting settings you have set under Tools > Options >Text Editor. Cheers, Mark. From: [email protected] [mailto:[email protected]] On Behalf Of Jano Petras Sent: Friday, 29 June 2012 7:26 PM To: ozDotNet Subject: Re: no more Macros for VS2012! Well, I do have one usage of macros - to strip off trailing whitespace from all lines in a code file. I have mapped it to Ctrl-W and using it all the time. Is there a built-in command that can do this now? If not, I will be affected, and will need to do something about it. Are any of you guys using something similar to perform this? Or hanging whitespace at the end of lines does not bother you ? Cheers, jano On 28 June 2012 08:56, Arjang Assadi <[email protected]> wrote: FYI Evryone who uses macros, they are gone from VS 11 since less than 1% of people were using them: http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/d8410838-085b-4647- 8c42-e31b669c9f11/ But as one of the posts pointed out they were being used by super users that most likely would turn off the usage data gathering features. Regards Arjang
