1

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?

1 Answer 1

3

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.

2
  • 1
    It does work using Cmd-/ on international layouts.
    – Daniel Beck
    May 28, 2011 at 12:44
  • great - thanks! i had another program conflicting with that key but after disabling it it started working great! :)
    – cwd
    May 28, 2011 at 12:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .