Comments (4)
@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!
from next-ls.
@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!
from next-ls.
awesome! thank you!
from next-ls.
@camilleryr any updates?
from next-ls.
Related Issues (20)
- code lens: show number of references above module/function
- bug(completions): variables leaking from for/with
- Indexing project fails because rebar3 is not included in bundled Elixir HOT 4
- completions: behaviour callbacks HOT 1
- Nix mix FOD deps has mismatched sha256 hashes on lattes release (0.21.1) HOT 3
- Missing hex in bundled elixir (bad MIX_HOME?) HOT 4
- Missing error message when formatting fails
- "Do you want the application to accept incoming network connections" alert on every start on macOS
- [error] Bad RPC call to node nextls-runtime => LSP Exited => :timeout HOT 6
- Unnecessary (?) completions on "do|" HOT 8
- Execute commands on emacs HOT 6
- bug(definition): exception when gathering variables
- Failed to load metadata on file opening (nvim/0.10) HOT 1
- "expected either either a list of a %GenLSP.Structures.SymbolInformation{}, a list of a %GenLSP.Structures.DocumentSymbol{}, or null or a %GenLSP.ErrorResponse{}" HOT 1
- The server shuts down when I close the editor HOT 13
- Boot up time HOT 1
- Completion request fails on a LiveComponent
- Suggestion: change code action for "underscoring" a variable to "rename to _var_name" HOT 1
- bug: alias references use alias instead of full name when the module is aliased int he module but the alias isnt used
- No autocompletion for fields in %__MODULE__{}
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 next-ls.