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

Hotkey F1 doesn't work for PHP #31

Open
malaire opened this issue Oct 5, 2020 · 3 comments
Open

Hotkey F1 doesn't work for PHP #31

malaire opened this issue Oct 5, 2020 · 3 comments

Comments

@malaire
Copy link

malaire commented Oct 5, 2020

When pressing F1 in PHP file nothing happens.

@yendor
Copy link

yendor commented Nov 6, 2020

I''m seeing this too. The error showing in the console is

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 1088, in run_
    return self.run(edit)
  File "/home/rodney/.config/sublime-text-3/Packages/Zeal/zeal.py", line 128, in run
    self.handler = ZealNameInputHandler(matched_docsets, text, self.clear_handler)
TypeError: __init__() takes 3 positional arguments but 4 were give

I think the line

self.handler = ZealNameInputHandler(matched_docsets, text, self.clear_handler)

should be

self.handler = ZealNameInputHandler(matched_docsets, text, on_offer=self.clear_handler)

but when I make that change I get the error

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 1082, in run_
    return self.run(edit, **args)
TypeError: run() got an unexpected keyword argument 'zeal_name'

which is where I had to stop looking into this.

@FichteFoll
Copy link
Contributor

Thanks for the report. I released 2.0.2 with the fix from my fork at https://github.com/SublimeText/Zeal.

@yendor
Copy link

yendor commented Jan 11, 2021

v2.0.2 seems to be working again thanks, this issue is good to close

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

3 participants