I use Visual studio 2012 and plugin Visual assist X ver. 1916. I have two questions. 1) When I write equal sign(=) I want automatic insert white spaces before and after equal sign.(I must always insert by space on keyboard :((( ) Is it possible by auto?
2) I want automatic insert white space before and after brackets nad before and after commas. Is it possible by auto? example. "void fun(int param1,int param2);" -> "void fun ( int param1, int param2 );"
Visual Assist X can help with some of this. Turn On:
VA Options -> Advanced -> Correction -> insert () and closing } ) ] ' "
and set:
VA Options -> Advanced -> Correction -> and put 1 spaces between method name and ()
If you are not getting the spaces around the brackets you want when using Extract Method, Create Implementation and Move Implementation to Source File then you can edit the VA Snippets "Refactor Create Implementation" and "Refactor Extract Method".
For more control over this you need a plugin for this. You could try:
thank you for answer...but StyleManage dont want install because its for only up to VS2010 version. So I understand you that Visual assist X can't help me with this problem. I must always use space on keyboard for space before and after equal sign, commas and brackets. That's a pity(( I need software who this action can do automatically.