Comments (10)
What are you trying to search for? Can you give a specific example? What are you doing exactly (step by step)?
from dash-plugin-for-xcode.
I select timeZoneWithAbbreviation
and Dash windows with the text...
from dash-plugin-for-xcode.
How do you trigger Dash? What key do you press?
from dash-plugin-for-xcode.
Option+Click or three finger in the method name
from dash-plugin-for-xcode.
I tried it and it works for me, so no idea what might go wrong on your end... Can you record a video of it happening? Also, did you try other methods and the same thing happened? Does Xcode highlight (underline) the method before you click it?
from dash-plugin-for-xcode.
Example
from dash-plugin-for-xcode.
It seems like it's working on the second file you test it in, so something might be confusing Xcode in the first file. Can you think of anything that might be different (e.g. compiler errors or warnings)?
from dash-plugin-for-xcode.
Yes, the first file have some warnings but never had failed me before.
Thanks :)
from dash-plugin-for-xcode.
Great. Please close the issue if it's all working now.
from dash-plugin-for-xcode.
OK I think a find a way to reproduce that:
-
fold all your code (menu: Editor -> Code Folding -> Fold Methods & Functions, or key: option-shift-command-)
-
next open one of your methods, at the beginning (but not the first fold, let's say the 3rd)
-
select an Apple method you want Dash to give you documentation and alt-click the normal way.
-
boum! "random" text in Dash.
-
if you select too far down the source, it just don't work.
Actually if you calculate the number of line the folding have "saved" you in the vertical scroll, you get where it is getting the search string. Somewhere down below in your source, by "that much" line.
Example: If you select a keyword on line 46, but some methods are folded before this line. This line 46 line up to line, let's say, 90. When you look at line 90, at the same x coord on the line, you find your "random" text. :)
If no methods are folded before your keyword, it works. And if you are so down the source that the keyword is on a line that will be "outside the source" you get my case 5), not working.
Is that helping ?
(You can always search the text Dash receive in your source and find it below the searched word)
Note: I've looked in the code, but this:
NSString *symbolString = [self valueForKeyPath:@"selectedExpression.symbolString"];
seems to be OK. Is it a Xcode bug ? I'm probably too newbie to judge...
from dash-plugin-for-xcode.
Related Issues (20)
- Needs upgrade for Xcode 6.3 HOT 1
- Syntax Coloring submenu on Editing menu disappeared HOT 12
- Xcode 6.4 beta 2 (6E14) doesn't like the plug-in HOT 3
- Xcode 6.3.2 Dash plugin not working. HOT 8
- Dash menu not showing up in Xcode Version 6.3.2 (6D2105) HOT 3
- Not working in Xcode 6.4 HOT 2
- Quick help link to guide does not work properly HOT 2
- Xcode 7.0 GM HOT 1
- Problem with XCode 7.0 and umlaut in group name HOT 3
- Could not replace the standard Documentation in Xcode7? HOT 4
- Dash looses filter on search HOT 2
- Disabling Quick Help integration also disabling Search integration HOT 1
- option-click + double click behaviour changed for Xcode 7.1? HOT 6
- "Replace Search Documentation" doesn't work in Xcode 7 HOT 14
- Only load if current application is Xcode HOT 1
- Plugin installed through Alcatraz is not working HOT 1
- option+click does not work in my mac HOT 2
- problem with Swift methods
- Alternatives to Xcode extension HOT 4
- Xcode 9 Beta 5 release note mentions Editor Extension bug fixes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash-plugin-for-xcode.