Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Coda I can make a selection (of code) and press Cmd+/ and it will comment it. If I'm in an HTML section it will use <!-- --> and if I'm in a PHP section it will use /* */.

I enjoyed this but didn't realize how much until I switched to TextMate and lost the functionality. Is there an easy way to do the same thing?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can find the functionality in the bundles under Source - Comments: enter image description here

At least on my (German) keyboard the following works: Cmd-Shift-/, because the / is only available by pressing Shift-7. I can't really speak for other keyboards, but I guess Cmd-/ should therefore work on US ones, as the shortcut is the same.

share|improve this answer
1  
It does work using Cmd-/ on international layouts. –  Daniel Beck May 28 '11 at 12:44
    
great - thanks! i had another program conflicting with that key but after disabling it it started working great! :) –  cwd May 28 '11 at 12:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.