shortcut to comment multiple lines monodevelop

Hi all,

Is there any keyboard shortcut to comment multiple lines using monodevelop unity.

Thanks.

use Ctrl+Alt+C.

See: Redirecting…

See: http://maccork.com/2011/02/26/monodevelop-keyboard-shortcuts/

Note: links found by googling.

windows ctrl + Alt + c

Highlight the lines you need to be commented and press Cmd + Shift + ? on a Mac and Ctrl+ Shift + ? for windows I guess.

if it doesn’t work. Goto MonoDevelop preferences by clicking on ‘MonoDevelop-Unity’ top lefthand side just beside the apple logo or my pressing Cmd + ,

Goto Preferences->KeyBindings. Search for Toggle Line Comments and assign a Key Binding of your choosing. But I think its set to Cmd + Shift + ? by default.

its “cmd” + “/” on a mac

In MonoDevelop 5.9.6 on the Mac if you select your code and press only the “/” key (no modifier), MonoDevelop will block comment e.g. “/* my code */”.

I stumbled on this and haven’t seen it described anywhere, but it works for me.

command+/
or right click on selection and then toggle line comment