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

Automatically reload erlang_ls.config changes #143

Open
rlipscombe opened this issue Jan 15, 2023 · 2 comments
Open

Automatically reload erlang_ls.config changes #143

rlipscombe opened this issue Jan 15, 2023 · 2 comments

Comments

@rlipscombe
Copy link

If I make any changes to erlang_ls.config, I have to either quit/reopen VS Code, or restart the extension host (which breaks other things). See https://erlangforums.com/t/can-i-reload-erlang-ls-config-without-restarting-vs-code/2074/3

It would be nice if the extension restarted itself or the server if the file changed.

@robertoaloi
Copy link
Member

That makes sense. In the meantime, it should also be possible to Cmd-P and "reload window". We could also implement a "restart server" command (similar to what Rust Analyzer does) which simply restarts the server without affecting other extensions.

@rlipscombe
Copy link
Author

Reload window seems to work. It's a bit slower than I'd like (and I'm not making it better by using VS Code Remote-SSH to home from the pub...). Something like Rust's "restart server" would work too.

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

No branches or pull requests

2 participants