T O P I C R E V I E W |
icStatic |
Posted - Apr 12 2013 : 11:31:05 AM Is there a way to disable the expansion of else<ENTER> into
else {
}
I've searched for it in snippets (but it isn't in the list, even though when I hover over it then it says 'Code snippet').
I write the body of my code before the closing brace so I find this infuriating!
I'm running 10.7.1929.
Thanks! |
7 L A T E S T R E P L I E S (Newest First) |
icStatic |
Posted - Apr 25 2013 : 4:44:15 PM Brilliant, thanks! |
support |
Posted - Apr 25 2013 : 2:33:08 PM case=73604 is fixed in build 1936 |
sean |
Posted - Apr 12 2013 : 12:01:32 PM Sorry - yes, VA is changing the selection state of the snippet. case=73604 The snippet should not be selected, just focused. |
sean |
Posted - Apr 12 2013 : 11:55:51 AM oops - then it sounds like we are doing something wrong. Will look into it. |
icStatic |
Posted - Apr 12 2013 : 11:51:41 AM Aha, thanks! It's always something simple. Weirdly enough the behavior went away when I disabled VAX. |
sean |
Posted - Apr 12 2013 : 11:46:56 AM For reference, the listing of the default VC++ snippets in listboxes is controlled by the "Disable Member List Code Snippets" option at: Tools | Options | Text Editor | C/C++ | Advanced
|
sean |
Posted - Apr 12 2013 : 11:43:32 AM If you are using VS2012, that is VS not VA.
Delete or rename this file: C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\Snippets\\1033\\Visual C++\\else.snippet
|