๐ŸŽนshortcuts

โŒƒ control
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