After pasting code, it is reformatted by Visual Assist, no matter if "Format after Paste" is set or not.
Happens on:
VA_X.dll file version 10.9.2076.0 built 2015.09.15 DevEnv.exe version 14.0.24720.0 Community msenv.dll version 14.0.24720.0 Comctl32.dll version 6.10.7601.18837 Windows 7 6.1 Build 7601 Service Pack 1
Language: C++
Example:
/////////////// /* bla bla */ //////////////
will be reformatted to:
/////////////// /* bla bla */ //////////////
Edit: this post was also automatically reformatted. Consider there were 1 tab or 4 spaces before 'bla bla'.
*wow* This surprises me. Since I have always been using this setting in Visual Assist, I wasn't aware that from VS2013, Visual Studio can also does this. If you are using VS2013 or later, you can disable this feature here:
Tools -> Options... -> Text Editor -> C/C++ -> Formatting -> General -> Format after paste
When I disabled Visual Assist via
VAssistX -> Enable/Disable Visual Assist X
the formatting was still happening. Disabling Visual Assist via this quick method is a good way to check whether something is happening because of Visual Assist or not.
yep, thank you... this did it for me. Also worth to have a look here (in VS 2015) if you encounter odd formatting behaviour. Lots of stuff to adjust here.