I am having a problem where Format After Paste does not limit itself to just pasting. It also works when I do simple block typing.
To illustrate, I like to line my code up in columns so I used Visual Studio's block selector feature to insert a single in 3 lines of code simultaneously. Specifically I hold down the ALT and select a vertical line immediately before the word "get" in 3 lines of code. I then hit the SPACE bar to move the get to the right a bit.
So I changed my code from this...
property Length GrooveDepth { Length get(); }
property Length GrooveWidth { Length get(); }
property Length CircleDistance { Length get(); }
property ShapeEnum^ Shapes { virtual ShapeEnum^ get() override; }
...to this (note the 3 getters moved to the right to align up with the 4th line). So far so good.
property Length GrooveDepth { Length get(); }
property Length GrooveWidth { Length get(); }
property Length CircleDistance { Length get(); }
property ShapeEnum^ Shapes { virtual ShapeEnum^ get() override; }
But then when I left click anywhere else in the editor window, Visual Assist reformats them like this:
property Length GrooveDepth { Length get(); }
property Length GrooveWidth { Length get(); }
property Length CircleDistance { Length get(); }
property ShapeEnum^ Shapes { virtual ShapeEnum^ get() override; }
After playing around, disabling extensions and the like I found that the settings that controls this was Visual Assist's Editor >> Format After Paste checkbox. Once I UN-check that, it fixes the problem.
But this is not a paste. It is an edit. Is there any way to stop VAssist from doing this without disabling that option?