I see that XCode9 is messing up the indentation of my code. Before this could be fixed with right click > structure > re-indent. How do I get equivalent behavior in XCode9?
This won't get the Structure->Re-Indent context menu back but might be useful.
There's a ^I
(ctrl + i
) shortcut for that, which re-indents selection.
If you don't want to use Key Bindings, the command is available using the menu:
Editor->Structure->Re-Indent
Note that default combination looks very much alike ^|
(ctrl + shift + \
) on Key Binding pane . I've been banging this combo for some time and even redefined the shortcut to ctrl+shift+\
before figuring out the correct one:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With