-
Notifications
You must be signed in to change notification settings - Fork 107
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
Navigation leads user to the elixir stdlib but user can't navigate the stdlib #275
Comments
I can confirm that the issue is that vscode is not sending requests to the server at all |
Unfortunately this issue can't be fixed without breaking multiroot workspace support. When we create a language client for a workspace folder (e.g. Obviously the path to standard lib won't match that glob pattern. We have to set this pattern as otherwise VSCode will send multiplicated request to each language server in each workspace folder. Note that the issue is not present when no workspace folders are open. In that case we create a default language client with We cannot create the default server when there are workspace folders as VSCode passes We cannot use negative glob patterns to filter requests - there's no such API in VSCode. Middleware API does not support easy filtering and would require overriding every request type. Possible workarounds:
|
Actually when working on 46284e3 I've made a fix for one of the scenarios - single folder workspace. So now:
Another news is in vscode-languageclient v8.2 a new support for request middleware is going to be introduced microsoft/vscode-languageserver-node#1229 |
Environment
Current behavior
IO.puts("")
:io.put_chars
ormap_dev
but it does nothingExpected behavior
IO.puts("")
:io.put_chars
should lead to the erlang implementation; ctrl-click onmap_dev
should lead you to the implementation on io.exThe text was updated successfully, but these errors were encountered: