Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 matlab 中,如果您突出显示一段代码并在 mac 上按 cmd+i 它会更正所有缩进。
xcode有类似的命令吗?假设我在方法内的 while 循环中有一个 for 循环,但每一行都在左侧齐平,我可以突出显示它并修复制表符吗?
是的,您也可以在 Xcode 中执行此操作 - 默认快捷方式是ctrl+I
ctrl+I
Xcode是control+ i。
同时选择代码并右键单击和结构