查看单个文件时,Xcode 快速帮助显示“无快速帮助”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/37284037/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode Quick Help displays "No Quick Help" when viewing a single file
提问by iShaalan
回答by Vadim Motorine
Install the version of the Command Line Tools
for your Xcode
安装Command Line Tools
Xcode的版本
`Xcode menu -> Open developer tools -> More Developer Tools
Restart Xcode. It helped me to see Quick Help again and also fixed git crash.
重新启动Xcode。它帮助我再次看到快速帮助并修复了 git 崩溃。
回答by abhimuralidharan
The below code worked for me. Run the following command from Terminal, then relaunch Xcode.
下面的代码对我有用。从终端运行以下命令,然后重新启动 Xcode。
defaults delete com.apple.dt.Xcode IDEIndexDisable
回答by nachbar
As an occasional user of XCode, what I still needed to do was download the documentation, which was not installed with the XCode install and/or did not carry over from a previous version of XCode.
作为 XCode 的临时用户,我仍然需要做的是下载文档,该文档未随 XCode 安装一起安装和/或未从先前版本的 XCode 继承。
From the Preferences dialog, click the Components tab, click on Documentation, and then click the download button for Guides and Sample Code.
在首选项对话框中,单击组件选项卡,单击文档,然后单击指南和示例代码的下载按钮。
Probably obvious for regular users of XCode, but I thought I would write it out for anyone else having this problem, since this was at the top of the Google search.
对于 XCode 的普通用户来说可能很明显,但我想我会把它写给其他有这个问题的人,因为这是谷歌搜索的顶部。
回答by Sagun Raj Lage
This is what worked for me. I closed Xcode and then deleted ~/Library/Caches/com.apple.dt.Xcode
.
Then I reopened Xcode and checked. It worked after that. I'm currently on Xcode 10.2.1.
这对我有用。我关闭了 Xcode,然后删除了~/Library/Caches/com.apple.dt.Xcode
. 然后我重新打开Xcode并检查。在那之后它起作用了。我目前使用 Xcode 10.2.1。
回答by Amir Pirzad
It's worked for me, just move the Xcode.appinto Applicationsfolder if not exist over here ;)
它对我有用,如果这里不存在,只需将Xcode.app移动到Applications文件夹中;)