开发者

xcode - organize the code (straighten)?

开发者 https://www.devze.com 2022-12-14 13:02 出处:网络
is there a way to organize the the position of the code (straighten .开发者_开发知识库..) automatically?Edit menu > Format > Re-indent.You can select the code and then choose \"Reindent selection\" fr

is there a way to organize the the position of the code (straighten .开发者_开发知识库..) automatically?


Edit menu > Format > Re-indent.


You can select the code and then choose "Reindent selection" from the context menu.


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. :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号