omz/Dash-Plugin-for-Xcode

option-click + double click behaviour changed for Xcode 7.1?

liuxuan30 opened this issue · 6 comments

Hi there,

I am keep using this plugin since Xcode 6. I used to optional-click to get the system popup window for description, and optional- double click to get dash.

Now today I updated Xcode 7.1 and rebuild the plugin, the trick is not working. the option- double click will always call up the xcode document, not dash ( I have enabled the replacement)

What's changed and how do I get my old habbit back? Thanks. It works perfect on 7.0, not sure why 7.1 broke my habbit :(

I don't use any other plugins except dash and vvdocumenter (a comment tool), and I always do a rebuild once the Xcode updated.

Well I found some strange behaviour:

let's say for func

        [UIView transitionWithView:self.window duration:0.3
                           options:UIViewAnimationOptionTransitionFlipFromLeft
                        animations:^{
                            weakSelf.window.rootViewController = rootViewController;
                        }
                        completion:nil];

If I option-double click on the function name, it will give me the default documentation;
However if I option-double click on UIViewAnimationOptionTransitionFlipFromLeft, it gives me the dash documentation. Seems like a bug.

The plugin no longer supports this due to changes in Xcode. Use Option-Click to activate Dash.

what change causes this? It kinds of degenerates option-click for hud, option-double click for Dash is perfect

@Kapeli @liuxuan30 Yeah, that would be awesome if the option-click showed the quick help popup and option-double click showed Dash.

Many open source libraries and frameworks provide java doc documentation that is nicely displayed in quick help popup. So completely removing popup isn't the best solution I think.

(By the way... I know that I can see same info in Quick help inspector, but popup is better I think...)

Oh, got you, thanks for effort.