Giter Club home page Giter Club logo

Comments (2)

cdegroot avatar cdegroot commented on June 15, 2024 1

Thanks. I guess that I got confused about compatibility issues/the number of instances running because of the incompatible logging changes that happened in 1.10. I think #115 is much more relevant (if the solution manages to be transparent) so closing this.

from elixir-ls.

axelson avatar axelson commented on June 15, 2024

Currently for emacs with lsp-mode I'd expect one instance of ElixirLS to run for each project because in lsp-mode the ElixirLS definition is not defined with :multi-root t. Here's a similar example for go: emacs-lsp/lsp-mode#1275

You can verify how many servers are running with M-x lsp-describe-session

My hunch is that elixir-ls should be compiled with the lowest supported version and run with the highest supported version so that it understands everything that various projects throw at it, but I'm not sure. In any case, it smells to me that "what version to run this with" is a tad under-documented.

Currently how ElixirLS works is that it is compiled with the lowest supported version (currently 1.7.4 with erlang 20.3.8.23) and then it runs on the same version that the project is running (if running via asdf) or it runs based on whatever version of elixir is installed globally.

But I just started a discussion about changing the approach used to run ElixirLS #115

from elixir-ls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.