Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Replace Search Documentation" doesn't work in Xcode 7 #50

Closed
dm-z opened this issue Oct 30, 2015 · 14 comments
Closed

"Replace Search Documentation" doesn't work in Xcode 7 #50

dm-z opened this issue Oct 30, 2015 · 14 comments

Comments

@dm-z
Copy link

dm-z commented Oct 30, 2015

After installing plugin I found that setting "Replace Quick Help" works fine, but I prefer having native quick help, and dash to replace searching in documentation. This setting doesn't work anymore (while "Replace Search Documentation" active, standard documentation is opening instead of Dash).

OS X 10.11.1
Dash 2.2.6
Xcode 7.1

@Kapeli
Copy link
Collaborator

Kapeli commented Oct 30, 2015

How do you trigger "Search Documentation" and what happens?

@liuxuan30
Copy link

I guess it's option+double click... We are all using it from old Xcode but recently it broke

@Kapeli
Copy link
Collaborator

Kapeli commented Oct 31, 2015

Option+Double Click is not related to "Search Documentation" and never was.

@liuxuan30
Copy link

@Kapeli then why I can use option +double click to call Dash up back in time?

@liuxuan30
Copy link

For now I have to use a hotkey for seach documentation and use it to show dash. It is working.

@Kapeli
Copy link
Collaborator

Kapeli commented Oct 31, 2015

Using a hotkey is what the "search documentation" integration is about. As I said, it's not related to Option+Double Click. Please comment on the Option+Double Click integration in its own issue and not here.

@albianto
Copy link

I'm also experiencing the bug. With both "Replace Quick Help" and "Replace Search Documentation" active, any links clicked in the quick help inspector on the right side now open the default documentation browser.

@dm-z
Copy link
Author

dm-z commented Oct 31, 2015

Option+Double Click is not related to "Search Documentation" and never was.

That's weird because I used this to search in dash for year or more, and was really surprised it stop working after some Xcode version released.

@Kapeli
Copy link
Collaborator

Kapeli commented Oct 31, 2015

Option+Double Click used to be part of the "Replace Quick Help Reference Link" integration which was removed due to changes in Xcode 7.

@Kapeli Kapeli closed this as completed Oct 31, 2015
@liuxuan30
Copy link

@Kapeli can't we get over it forever? What changed then? Damn Apple

@Kapeli
Copy link
Collaborator

Kapeli commented Nov 2, 2015

They changed the way their links are built within Quick Help and there's no way to reliably get the search string with the new URLs. I think I'll be able to get it to work with Option+Double Click in the same way Option+Click works now, but I'm not sure. It's on my todo list.

@liuxuan30
Copy link

Cheers! good luck!

@Kapeli
Copy link
Collaborator

Kapeli commented Nov 4, 2015

I've looked into it and I couldn't find a way to capture Option+Double Click without side effects. The only way I could get it to work was by returning nil in om_queryResultForToken:ancestorHierarchy:. Unfortunately, doing this completely breaks the Quick Help sidebar.

@liuxuan30
Copy link

well then I will get used to the hot keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants