Sharepoint Designer 2010 - Any shortcuts to comment or uncomment out html code?
Posted on 2010-11-12
Whenever I have html code that spans pages that I want to comment out its a PITA with SPD.
I guess I am used to VS 2010 - but in Visual Stusio, any code that is highlighted/selected can be commented out via CtrlK+C and uncommented with Ctrl+KU.
How do I quiclly comment out code I have selected in SPD? I tried the quick edit tag - wrap tag, but it doesn't accept "<!-- -->". It only allows Div etc...
Otherwise, I have to select the whole tag and contents which jumps to the end tag. Put --> at the end and then Hit Ctrl+; twice to jump to the beginning tag and put in <!--.
Is there an easier way, some keyboard shortcut. Are there any power tools for SPD or addins or macros I could record?
Thanks in advance