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

Help integration Zeal ( F1 - Key - Help ) #743

Closed
davidwed opened this issue Apr 29, 2015 · 14 comments
Closed

Help integration Zeal ( F1 - Key - Help ) #743

davidwed opened this issue Apr 29, 2015 · 14 comments

Comments

@davidwed
Copy link

Hi Guys,

is it possible to integrate the Zeal offline API documentation browser. You can easily start the Zeal binary with the searching keyword ( ...\zeal.exe std::cout ).

There are a large numbers of docsets for C / C++ / Boost / Wxwidgets.

Or could you provide a Lua-Script / Plugin for Zeal in the next release ?

Thanks in advanced.

Reference:
http://zealdocs.org/

@trollixx
Copy link

Zeal developer here. If someone would look into this feature, here's some information.

There's no need to execute Zeal binary directly. Zeal supports dash-plugin:// protocol, and installs handlers automatically on Linux and Windows. On OS X that protocol is handled by Dash. Zeal and Dash share the same set of documentation, just target different platforms.

@eranif
Copy link
Owner

eranif commented Apr 30, 2015

Thanks, I will be the one implementing this, I don't expect any big issues with integrating it into CodeLite
Thanks for the info

@davidwed
Copy link
Author

Very nice..

Thanks in advanced :-)

@eranif
Copy link
Owner

eranif commented May 5, 2015

Implemented the following in git master

  • If there is a selection clicking F1 opens Zeal / Dash using the dash-plugin protocol and codelite will use the current file name to extract the context to use (PHP, JS, Java, C, C++ etc)
  • If CodeLite could not deduce the context from the current file, the "keywords" part of the query is ignored
  • If there is no selection, clicking F1 will simply activate Zeal and bring it to the front

@eranif eranif closed this as completed May 5, 2015
@trollixx
Copy link

trollixx commented May 8, 2015

Great work! I'll add a link to CodeLite on Zeal website later.

@eranif
Copy link
Owner

eranif commented May 10, 2015

@trollixx FYI: CodeLite 8.0 was released today with Zeal and Dash support

@stephenlevitt
Copy link

Has this stopped working with the latest version of CodeLite (10.0.6) and Zeal (0.3.1)? Zeal opens when pressing F1 in CodeLite and the query is placed in the search box but the query is not executed.

@eranif
Copy link
Owner

eranif commented Jul 27, 2017

Which OS?

@stephenlevitt
Copy link

Windows 10

@eranif
Copy link
Owner

eranif commented Jul 28, 2017

I downloaded and installed Zeal 0.3.1 and it seems broken. I suspect that the problem is in Zeal

EDIT:
I googled through the web and found Zeal from the days CodeLite's plugin was developed (Zeal 0.2.1) I uninstalled 0.3.1 and installed the older version and everything is working again.

Looks like Zeal 0.3.1 and also 0.3.0 changed the dash:// | dash-plugin:// URL support as they seems to hang when I execute a custom search.

For example, open Windows File Explorer and paste this in its address bar:

dash-plugin://keys%3Dphp%26query%3Dfopen

If everything is OK, you should have Zeal launched and searches for fopen in the PHP docset
This works for Zeal 0.2.1 but fails with Zeal 0.3.0 and 0.3.1

EDIT2:

I have opened a bug in Zeal project: zealdocs/zeal#754

EDIT3:

Uninstall Zeal 0.3.1 and install Zeal 0.2.1 which works OK, here is a link:
https://www.google.co.il/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwjk2vrAvKvVAhWCVRQKHVvmA90QFgglMAA&url=https%3A%2F%2Fdl.bintray.com%2Fzealdocs%2Fwindows%2Fzeal-0.2.1-windows-x86.msi&usg=AFQjCNG33-jVOQLrNOHvOAF49yNpQzYgUA

@AJenbo
Copy link
Collaborator

AJenbo commented Jul 28, 2017

Looks to be working with Zeal 0.3.1 on Ubuntu (17.04).

@stephenlevitt
Copy link

stephenlevitt commented Jul 28, 2017 via email

@eranif
Copy link
Owner

eranif commented Jul 28, 2017

Seems broken on Windows. I tried 0.3.1, 0.3.0 and 0.2.1 (0.2.1 was the official version of Zeal when I first wrote the plugin)
To ensure that this is not a CodeLite issue, I used the search query from the Windows File Explorer - and it is working with Zeal 0.2.1 but not with 0.3.1/0

@makper
Copy link

makper commented Mar 21, 2018

Hello eranif.
Would it be difficult to have another look on the help plugin? I recently have managed to use Zeal on codeblocks, although its help function normally uses chm files. I have just included the line "C:\Program Files\Zeal\Zeal.exe $(keyword)" on the relevant field and it works. It would be nice to have this function on codelite.

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

6 participants