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

Code Lens don't refresh after changing the setting #95

Closed
Gama11 opened this issue Mar 2, 2017 · 1 comment
Closed

Code Lens don't refresh after changing the setting #95

Gama11 opened this issue Mar 2, 2017 · 1 comment

Comments

@Gama11
Copy link
Member

Gama11 commented Mar 2, 2017

When changing the "haxe.enableCodeLens" setting, code lens that are already active won't be refreshed until the file is edited.

This affects the new Toggle Code Lens command, but is technically not a new issue (same thing when manually editing the setting).

We need microsoft/language-server-protocol#192 to be resolved to be able to fix this.

@Gama11
Copy link
Member Author

Gama11 commented Mar 26, 2018

Looks like we can actually work around this by adding a second dummy provider in vshaxe to trigger the event. Got this idea from one of the referenced commits in the LSP issue:

dcastro/vscode-haskell-test-runner@ee08bd1

It's not pretty, but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant