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

68,495

Solution 1

Check Commands > Source > Comments. A number of shortcuts are listed there.

Solution 2

You search for Cmd + Shift + c. The shortcut generates multi line comments with //.

Solution 3

// for a single line of code(L for Line)

Alt + C + L

/* */ around selected code(B for Block)

Alt + C + B
Share:
68,495
Debiprasad
Author by

Debiprasad

I’m essentially a software developer by profession, an entrepreneur by ambition, and a computer scientist by osmosis. I am a web application developer. I basically work on PHP, MySQL and Ajax based web applications. I am passionate and addicted about the web. I also have interest in photography too. I run a small web development company named Indibits. Our primary service is to provide open source web solutions for businesses.

Updated on April 02, 2020

Comments

  • Debiprasad
    Debiprasad about 4 years

    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