13

The quick help feature is working just fine when I open an Xcode project, however when opening a file (e.g. abc.swift) that's not in an open project, the documentation does not appear.

Here is an example:

Paulo Mattos
  • 18,845
  • 10
  • 77
  • 85
iShaalan
  • 799
  • 2
  • 10
  • 30
  • Hopefully this will help you! http://stackoverflow.com/questions/20945758/no-more-quick-help-in-xcode-editor – Ankur JAIN May 17 '16 at 18:54
  • @AnkurJAIN thank you for sharing, I have checked that question before posting, Unfortunately it didn't solve the problem – iShaalan May 17 '16 at 19:05
  • You're saying that you've opened a single file by itself, that's not contained in an open project? – jscs May 17 '16 at 19:09
  • @JoshCaswell Exactly! – iShaalan May 17 '16 at 19:09
  • Trying to bump this up, I also have the same problem https://stackoverflow.com/questions/50688129/xcode-9-3-quick-help-optionclick-shows-empty – sweepez Jun 07 '18 at 14:48

5 Answers5

6

Install the version of the Command Line Tools for your Xcode

`Xcode menu -> Open developer tools -> More Developer Tools

Restart Xcode. It helped me to see Quick Help again and also fixed git crash.

yoAlex5
  • 29,217
  • 8
  • 193
  • 205
Vadim Motorine
  • 2,973
  • 1
  • 11
  • 7
5

The below code worked for me. Run the following command from Terminal, then relaunch Xcode.

defaults delete com.apple.dt.Xcode IDEIndexDisable
abhimuralidharan
  • 5,752
  • 5
  • 46
  • 70
1

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.

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.

nachbar
  • 2,643
  • 1
  • 24
  • 34
1

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.

Sagun Raj Lage
  • 2,326
  • 2
  • 18
  • 28
0

It's worked for me, just move the Xcode.app into Applications folder if not exist over here ;)

Amir Pirzad
  • 121
  • 6