Xcode Quick Help displays “No Quick Help” when viewing a single file

后端 未结 5 1129
孤独总比滥情好
孤独总比滥情好 2021-02-19 22:25

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

相关标签:
5条回答
  • 2021-02-19 23:05

    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.

    0 讨论(0)
  • 2021-02-19 23:09

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

    defaults delete com.apple.dt.Xcode IDEIndexDisable
    
    0 讨论(0)
  • 2021-02-19 23:22

    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.

    0 讨论(0)
  • 2021-02-19 23:22

    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.

    0 讨论(0)
  • 2021-02-19 23:23

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

    0 讨论(0)
提交回复
热议问题