-
Notifications
You must be signed in to change notification settings - Fork 782
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
Missing version specific search keywords (python, ruby, java, qt) #604
Comments
In Dash those are hardcoded (because I was dumb back then). The hardcoded cases are: if([platform isEqualToString:@"python"])
{
NSString *docsetName = docset[@"docsetName"];
if([docsetName hasPrefix:@"Python 2"])
{
return @"python2:";
}
else if([docsetName hasPrefix:@"Python 3"])
{
return @"python3:";
}
}
else if([platform isEqualToString:@"java"])
{
NSString *docsetName = docset[@"docsetName"];
if([docsetName isEqualToString:@"Java SE7"])
{
return @"java7:";
}
else if([docsetName isEqualToString:@"Java SE6"])
{
return @"java6:";
}
else if([docsetName isEqualToString:@"Java SE8"])
{
return @"java8:";
}
}
else if([platform isEqualToString:@"qt"])
{
NSString *docsetName = docset[@"docsetName"];
if([docsetName hasPrefix:@"Qt 5"])
{
return @"qt5:";
}
else if([docsetName hasPrefix:@"Qt 4"])
{
return @"qt4:";
}
else if([docsetName isEqualToString:@"Qt"])
{
return @"qt4:";
}
}
else if([platform isEqualToString:@"cocos2d"])
{
NSString *docsetName = docset[@"docsetName"];
if([docsetName hasPrefix:@"Cocos3D"])
{
return @"cocos3d:";
}
} |
I noticed this, too. |
@thorstenkampe probably this one: 236eb00. This is pretty crutial for docsets where different versions matter (Python for me). |
I don't want to annoy, but could you perhaps raise priority for this issue? I need documentation on both Python 2 and 3 available but I get almost every entry twice now (when prefixing with |
There's no priority list. Whenever I get a free moment, I try to fix or
implement something. Sorry for inconvenience, but I cannot give any
promises. Zeal is not a commercial product, and is really slacking in
development pace.
This issue requires some server side work for a proper fix, so might take
some time.
|
The following keywords are now available:
* Dash doesn't have version-specific keywords for the RoR docsets. To make use of these keywords delete the affected docsets, update the docset list, and download the docsets back. |
Thank you very much, I'll try a new version from git later tonight, |
Thank you, works like a charm! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
I have both the Python 2 and Python 3 docsets installed.
In zeal 0.2.x one could use the
python 2: function
andpython 3: function
prefixes/syntax to search in the respective docsets.This seems to be no longer the case?
python: function
works just fine, the other return just nothing at all.Thanks!
The text was updated successfully, but these errors were encountered: