-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
prompt to run mix deps.get #53
Comments
@camilleryr this would be a really helpful one to tackle if you want to try it. The gist is, when we detect a compiler error related to deps, we make a (window/showMessageRequest)[https://hexdocs.pm/gen_lsp/0.6.0/GenLSP.Requests.WindowShowMessageRequest.html] request from the server to the client to ask for a "yes/no" I am opting to make this a prompt, because ElixirLS seemed to have many issues with auto running mix deps.get, so i'd like to try something different. I'm not sure exactly how we should detect that deps have changed, but you'd have to figure that part out 😉. let me know what you think! |
@mhanberg - That sounds great! I was actually looking into this earlier, Ill see what I can cook up with for detecting if the deps have changed and let you know what I come up with! |
awesome! thank you! |
@camilleryr any updates? |
Partially addresses elixir-tools#53 elixir-tools#115 elixir-tools#285 Co-authored-by: Mitchell Hanberg <[email protected]>
Partially addresses elixir-tools#53 elixir-tools#115 elixir-tools#285 Co-authored-by: Mitchell Hanberg <[email protected]>
Partially addresses elixir-tools#53 elixir-tools#115 elixir-tools#285 Co-authored-by: Mitchell Hanberg <[email protected]>
Partially addresses elixir-tools#53 elixir-tools#115 elixir-tools#285 Co-authored-by: Mitchell Hanberg <[email protected]>
Partially addresses #53 #115 #285 Co-authored-by: Mitchell Hanberg <[email protected]>
if you don't have dependencies installed, the editor should prompt you to install them and accept a yes or no.
this should avoid having to leave the editor, run
mix deps.get
, and open it again.The text was updated successfully, but these errors were encountered: