🎹shortcuts
shortcut
meaning
notes
⌃ + i
Editor ⟩ Structure ⟩ Re-indent
選擇要將「內縮」排好的區塊,然後按「⌘ + i」
⌃ + ⌥ + click
show SwiftUI inspector
⇧ + ⌘ + L
Library
⌘ + R
run
run app in the simulator
⌘ + U
test
unit tests/UI tests
⌥ + ⌘ + /
add comment ⭐️
position the cursor either on or before a method
Option+Cmd+P
resume canvas
Add code annotations to the jump bar and minimap
// TODO: [your to-do item]
// a bug fix reminder:
// FIXME: [your bug fix reminder]
// MARK: [your section heading]
// add a separator above:
// MARK: - [your content]
// add a separator below:
// MARK: [your content] -
// add a separator above & below:
// MARK: - [your content] -
Last updated
Was this helpful?