Visual Assist X: curly braces are moving during refactoring

Posted by overrider on Stack Overflow See other posts from Stack Overflow or by overrider
Published on 2009-12-17T08:51:52Z Indexed on 2010/04/04 16:53 UTC
Read the original article Hit count: 400

I use Visual Assist X, build from 05.01.2009, but the same problem occurred in the previous releases as well. (I run it on MSVS 2005)

When I do some refactoring (like extracting a method), everything's fine, but all the curly braces move forward. For example, before refactoring the code looked like this:

while (expr)
{
  doSmth();
}

After refactoring:

while (expr)
  {
  doSmth();
  }

So, I need to move manually all the brackets. Sure, the problem is minor, but it becomes annoying when you do a lot of refactoring. Is it a bug or just default settings? So, does anyone know a workaround?

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about visual-assist