Reputation: 305
is there a way to organize the the position of the code (straighten ...) automatically?
Upvotes: 0
Views: 413
Reputation: 3084
Go to Preferences (⌘+,). Then scroll along the top to the right and click the "Indent" header. There should be an option called something like "Indent text automatically." That should do what you want. :)
Upvotes: 0
Reputation: 58478
You can select the code and then choose "Reindent selection" from the context menu.
Upvotes: 0