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

Support window/progress message #24

Open
fredemmott opened this issue Jul 9, 2018 · 4 comments
Open

Support window/progress message #24

fredemmott opened this issue Jul 9, 2018 · 4 comments

Comments

@fredemmott
Copy link
Contributor

FB extension.

Signature here: https://github.com/facebook/hhvm/blob/master/hphp/hack/src/utils/lsp.ml#L850

Efforts to standardize this at microsoft/language-server-protocol#245 and microsoft/language-server-protocol#511

@PranayAgarwal
Copy link
Member

What is the best way to get progress messages from the language server? Any current use case?

@fredemmott
Copy link
Contributor Author

If they're in clientcapabilities, they should be pushed.

I believe that Hack will push them when initializing if it's not already running; if supported, HHAST could also push them for the whole-repo lint

@PranayAgarwal
Copy link
Member

I updated the initialize request to send over the following (in client capabilities):

"workspace": { ... },
"textDocument": { ... },
"window": {
    "status": true,
    "progress": true
}

but still don't get any of those requests from the language server. Anything else I should be doing?

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

3 participants