Search code examples
visual-studio-2010pex-and-molessurround

visual studio 2010 "surround with" hijacked by "pex and moles"


After I installed "Pex and Moles", used for automated testing, my "Surround with" (ctrl + k, s) in Visual Studio 2010 has been "hijacked" by the new add on.

This means I can only choose to insert a "PexClass for MSTest", which is kind of annoying since I use surround with many times each day.

Hope someone can help to reset this feature to its original functionality without removeing Pex and Moles.


Solution

  • Open the menu Tools -> Options Then select Environment -> Keyboard

    In the shortcut field, press CTRL+K, S. You'll see all bindings for this combination. Adjust or remove the ones you don't like.

    Keyboard options