-
I see this parameter you can provide to a new instance of MonacoLanguageClient: I'm assuming that will tell the language server to go scan that folder/s for code to use in autocomplete suggestions. My questions are:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @Sahasrara
Depends on the language server, but that's usually correct.
It depends on the language server you're using:
There is no LSP method for doing that. If you have direct control over the language server, you can implement a custom notification to the language client for that (and listen for it on the language client). If you don't, there is basically no way to tell from the outside whether the language server is still working on indexing the workspace. |
Beta Was this translation helpful? Give feedback.
Hey @Sahasrara
Depends on the language server, but that's usually correct.
It depends on the language server you're using:
workspace/didChangeWorkspaceFolders
request, you should just be able to send that one.There is no LSP method for doing that. If you have direct control over the language…