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

5

20

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

Didymous answered 17/6, 2011 at 9:48 Comment(0)
B
15

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

Brew answered 1/7, 2011 at 13:5 Comment(0)
P
10

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

Poultice answered 14/3, 2012 at 14:19 Comment(0)
S
2

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

Alt + C + L

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

Alt + C + B
Sofa answered 1/2, 2015 at 3:11 Comment(0)
W
1

VScode multiple line comments on Mac /* */

shift + option + a

VScode single line comment on Mac //

command + /
Wera answered 9/10, 2023 at 10:52 Comment(0)
B
0
  1. Select the Code to Comment.
  2. Press Ctrl+K.
  3. Press Ctrl+C.
Bolshevik answered 28/8, 2018 at 18:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.