Comments (5)
Seems like that comes from https://github.com/elixir-lsp/elixir-ls/blob/master/apps/language_server/lib/language_server/server.ex#L345
My guess is you removed a file/function for that particular uri
and it is not robust enough to deal with that.
from elixir-ls.
Yeah, that does seem like it
from elixir-ls.
More info: I think this happens when you rename a file.
from elixir-ls.
@axelson I think we should add a simple try
around handle_request
to avoid crashing the process. It's not worth trying to fix this edge case
from elixir-ls.
Possibly, although if we could reliably reproduce this in different editors (i.e. we're not handling valid LSP operations) than I think it would probably be worth a more proper fix. But some more investigation is needed first.
from elixir-ls.
Related Issues (20)
- Allow bypassing `asdf` and/or `rtx` or allow specifying your own elixir/erlang versions/binaries exactly HOT 2
- Unable to start LSP in Fish + Sublime Text due to space in path HOT 1
- Phoenix Router with auto-alias HOT 3
- ElixirLS crashes every time I create a new map after the new update. HOT 2
- Config to disable @spec suggestion HOT 1
- Huge memory usage (10GB+) during Phoenix debugging on a new project HOT 13
- Mix.install failed with ** (ArgumentError) unknown keys [:stop_started_applications] HOT 3
- Regression: hang with emacs showing file diagnostics after release 0.17.0 HOT 4
- Wrong location of warnings/errors. HOT 2
- Formatter not working in non mix projects
- Language server stops working on windows OTP 26 HOT 2
- published diagnostics are discarded due to file version HOT 7
- Can't continue due to errors on dependencies error: tell the client
- Inconsistency in go-to definition/references for modules based on syntax HOT 2
- Debugger variable inspector crashes on improper lists
- Add support for inspecting standard OTP and elixir collections in debugger Variables HOT 1
- Config is merged and not reloaded on rebuild
- ElixirLS : couldn't create connection to server. HOT 1
- Repeatedly crashing when installing dependencies HOT 4
- Version v0.18.0 not found when attempting to start LS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixir-ls.