Comment code

Add comment markers to the line at the cursor

Blind test

Comment out the current line in the editor

Why it works

⌘/ lets the editor add // or /* */, and both VS Code and Xcode answer to it. ⌘⇧/ searches the menu bar for help.

Tip

Press ⌘/ while you write and the editor adds the markers. Try three lines in VS Code or Xcode.

Train this shortcut

KeyFlow drills this card until your fingers know it. 10 valid cards a day keep the streak alive.

Coming to the App Store

Search 水果快捷键 in WeChat to start.