What is the shortcut to comment multiple lines with /* ... */ in Aptana Studio 3 on Mac?

Viewed 78427

Here are the few shortcuts to comment code, which works great on Windows.

  • Ctrl-/ to add or remove // for a single line of code, or for multiple selected lines
  • Ctrl-/ to add/remove // for a single line of code, or for multiple selected lines
  • Ctrl-shift-/ to add /* */ around selected code

The Mac alternative of the Ctrl-/ is Command-/

What is the Mac alternative of the Ctrl-shift-/ for Mac?

Related Question: Finding Shortcuts in Aptana Studio 3.0 to Comment Code

4 Answers

On Mac, you search for ⌘ Cmd+Shift+C.
The shortcut generates multi line comments with //.

  1. Select the Code to Comment.
  2. Press Ctrl+K.
  3. Press Ctrl+C.
Related