Xcode Fix-it快捷方式 [英] Xcode fix-it shortcut

查看:248
本文介绍了Xcode Fix-it快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有任何快捷方式或热键可以应用Xcode的修复建议? (Xcode 7)
在Android Studio中,我们可以仅使用ctrl + enter来应用更正.有什么与Xcode中类似的内容吗?
一些参考: https://swifteducation.github.io/assets/pdfs/XcodeKeyboardShortcuts.pdf

I am wondering is there any shortcut or hotkey that can apply the fix-it suggestion from Xcode? (Xcode 7)
In Android Studio, we can just use ctrl+enter to apply the correction. Is there anything similar to that in Xcode?
some ref: https://swifteducation.github.io/assets/pdfs/XcodeKeyboardShortcuts.pdf

推荐答案

我知道两个快捷方式.

I am aware of two shortcuts.

Ctrl + Cmd + '-自动修复下一个错误
Ctrl + Cmd + "-自动修复上一个错误

Ctrl + Cmd + ' - auto fix next error
Ctrl + Cmd + " - auto fix prev error

享受!

这篇关于Xcode Fix-it快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆