'Xcode Return key places cursor in middle of line
In Xcode 3.2.5 I hit Ctrl + L to center the content (just testing out some shortcuts) and now whenever I hit Return, the cursor starts in the centre of the next line, instead of at the beginning. (Almost like an invisible tab stop in Pages)
How do I get my normal Return functionality back?
Solution 1:[1]
I had the same problem and was able to fix it like this: Xcode>Preferences>Indentation>Syntax-aware-indenting>automatically indented characters: UNCHECK RETURN box. Apply This worked for me, otherwise it would always position cursor in the middle of the new line.
Solution 2:[2]
For me, I forgot to close a parentheses.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Bob |
| Solution 2 | Zeynal |
