iShaalan
iShaalan

Reputation: 789

Xcode Quick Help displays "No Quick Help" when viewing a single file

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:

Upvotes: 12

Views: 8092

Answers (5)

Amir Pirzad
Amir Pirzad

Reputation: 121

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

Upvotes: 0

Sagun Raj Lage
Sagun Raj Lage

Reputation: 2484

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.

Upvotes: 1

Vadim Motorine
Vadim Motorine

Reputation: 3069

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.

Upvotes: 5

nachbar
nachbar

Reputation: 2843

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.

Upvotes: 1

abhimuralidharan
abhimuralidharan

Reputation: 5939

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

defaults delete com.apple.dt.Xcode IDEIndexDisable

Upvotes: 5

Related Questions