I would like to do 2 things in the xCode:

  1. enabling spelling correction in the comments.
  2. unrolling the lines of code/comment, I mean like when I have a long line of code xCode won't break it to 3-4 lines and it all be in one long line.

1 Answer 1


For the first one Press,

A quick way :

cmd + shift + :

A permanent way

Click on Edit>Format>Spelling and Grammar>and then select "Check spelling while typing"

For the second question,

Goto Xcode>Preferences>Text Editing>Indentetion and then select "Wrap lines to editor width".

As shown in this picture,

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .