possible to split a long line into multiple lines?

Is there a keyboard shortcut to change this..

cell = [OVControlHelper yesNoCellWithTitle:@"Automatically Resume" withTarget:self withSelector:@selector(didChangeResumeUpload:) isOn:self.uploadSettings.autoResumeOnLaunch isEnabled:YES withTableView:self.tableView withIdentifier:@"YesNoCell"];

into this

cell = [OVControlHelper yesNoCellWithTitle:@"Automatically Resume"
                                            withTarget:self
                                          withSelector:@selector(didChangeResumeUpload:)
                                                  isOn:self.uploadSettings.autoResumeOnLaunch
                                             isEnabled:YES
                                         withTableView:self.tableView
                                        withIdentifier:@"YesNoCell"];



ta.
1 comment
Comment actions Permalink

Yes,
first set 'Code->Style->Wrapping and Braces->Method parameters/Method call arguments' to 'wrap if long' or 'chop down if long'.
After that simply call reformat code on the line (Command+Alt+L).

Is that what you looked for?

3

Please sign in to leave a comment.