views:

118

answers:

1

Is there a way to tell XCode fold methods/functions by default when opening a file?

+1  A: 

I don't think so, there are some handy keyboard shortcuts though:

Fold                        ⌃⌘←      control+command+left
Unfold                      ⌃⌘→      control+command+right
Unfold All                  ⌃U        control+U
Fold Methods/Functions      ⌃⌘↑      control+command+up
Unfold Methods/Functions    ⌃⌘↓      control+command+down
Fold Comment Blocks         ⌃⇧⌘↑    control+shift+command+up
Unfold Comment Blocks       ⌃⇧⌘↓    control+shift+command+down
Focus Follows Selection     ⌃⌥⌘F    control+option+command+F
Griffo
That's too bad, but at least I can use these, thx ;)
Infinite
Hmmm, the keyboard shortcuts aren't showing up in firefox on Windows. The characterset with the command key symbol obviously doesn't exist. I'll follow up with text alternatives.
Griffo