How do I use a shortcut to comment out code automatically in Textmate?

cjm2671 picture cjm2671 · Nov 24, 2011 · Viewed 22.2k times · Source

Is there a shortcut to highlight and comment code in textmate, rather than putting in the comments manually?

Answer

tamasgal picture tamasgal · Nov 24, 2011

If you have the Source bundle installed:

⌘/

Comment in TextMate

If you don't, go to TextMate > Preferences > Bundles and check Source.