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

add separate option for disableProvideHover #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

madgamer98
Copy link

I personally run other extensions that handle PHP method / property definitions for hover and autocomplete and while the extension currently has an option to disable the autocomplete it doesn't have one to disable the hover provider.

Looking at the psalm Language Server code I noticed that there was already a flag to disable the hover provider so I've added an option in the plugin to send that flag over when starting the Language Server.

The additions are made the same way that the 'Disable Auto Complete' option was passing along the
--enable-provide-hover=false flag to the Language Server.

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

Successfully merging this pull request may close these issues.

2 participants