Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 416
Debiprasad Avatar asked Jun 17 '11 09:06

Debiprasad


People also ask

How do I comment multiple lines in Visual Studio Mac?

Use the cmd + / key binding on the selected code.

How do I comment multiple lines in a data studio?

Add a Ctrl-Alt-/ for multi-line block comments Ctrl-Alt-/ is used by the toggle comment function. Ctrl-Alt-/ is used by the toggle comment function.


3 Answers

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

like image 133
Ingo Muschenetz Avatar answered Oct 21 '22 10:10

Ingo Muschenetz


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

like image 37
Horsti Avatar answered Oct 21 '22 09:10

Horsti


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

Alt + C + L

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

Alt + C + B
like image 32
Ahmet Arslan Avatar answered Oct 21 '22 09:10

Ahmet Arslan