elixir-ls
dap-mode
elixir-ls | dap-mode | |
---|---|---|
13 | 22 | |
1,381 | 1,259 | |
0.8% | 1.0% | |
9.6 | 7.1 | |
13 days ago | 6 days ago | |
Elixir | Emacs Lisp | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
elixir-ls
-
Vue 3.3.6 Faster Thanks to WeakMaps
No. Not even close. But it's getting better.
There are currently two worth mentioning:
ElixirLSP: https://github.com/elixir-lsp/elixir-ls
Elixir tools: https://www.elixir-tools.dev/
ElixirLSP is the older project, and has been around for a while. It does a lot, but has had sporadic issues over the years. Things like the debugger are a dog to get working, and the server itself will occasionally run into issues where it just doesn't want to work. It's always sort of focused on a subset of language server features, so don't expect much in the way of inline corrections. But it's got the essentials, formatting, basic linting, type hinting, on demand documentation, and primitive reference navigation
Elixir tools is a new up and comer, written by Mitchell Hanberg. It's aiming to be a more complete lsp, and has plugins in its "ecosystem" for most editors. Features have been arriving rapidly, starting with things like inline corrections and far more reliable linting, and recently growing autocomplete. One of the main selling points is the elixir-tools backend is a self contained binary, so it can mostly work independent of system Elixir/Erlang version, which was a frequent tripping point for ElixirLSP
Personally I use both at the same time, but plan to move to tools only when it's got all the features I need
-
Lightweight dev tools.
I decided I can live without elixir-ls when couching in return for having a usable editor. When the plugin ecosystem and documentation matures I can see myself switching to using Lapce for my primary editor.
-
GNU Debugger "GDB" Adds Support For Microsoft's Debug Adapter Protocol
Hi! I've compiled gdb from master and installed it. When I run gdb -i dap, I get JSON-RPC, so it looks like it's working, but I'm lost as to where to go from here. Does your change enable me to use a tool like https://github.com/elixir-lsp/elixir-ls with GDB now, right? How might I use them together? What would be required to then have GDB debugging over DAP from inside Emacs?
-
Phoenix 1.7 is View-less
Elixir-ls provides Language Server Protocol support as well as VS Code Debug Protocol support which gives extra powers to VS Code, NeoVim, Emacs, and the like
https://github.com/elixir-lsp/elixir-ls
-
[Elixir] Apprentice, a new alchemist.el fork
BUT, with the news that in the next Emacs version eglot (lsp client) is going to be in the core, I decide to modify alchemist in a different way, enhancing other capabilities and letting eglot do what he best does (which is the functionality of elixir-ls).
-
Is ElixirLS still in the VSCode market place?
I think it's here: https://github.com/elixir-lsp/elixir-ls
-
Using a Custom Language Server in Fleet?
elixir-ls powers the VSCode experience, and while it works decently, I've never really clicked with VSCode. In general, for other languages, I tend to use Jetbrain's Products. I would love to give fleet a whirl, and I know in the background it can use the Language Server Protocol to support many of the languages it currently ships with.
-
Getting Started Using Nix Flakes As An Elixir Development Environment
Now it doesn't mean that immediately reading this starter guide, you will have everything under the sun set up with Nix Flakes for your development need. But at least, you won't have to worry about setting up asdf, your weird hacks you need for your machine and the other tiny little things to get elixir started with elixir-ls.
-
Extreme lag on INSERT_MODE when coding in Elixir with lspconfig
I have a minimal lspconfig with coq_nvim with elixirls and tsserver. The problem is that whenever i code on elixir everything becomes slow.
-
This new VS Code Update
Well I know one extension that runs your code, elixir-ls. I believe it scans your code and runs dialyzer, a static analysis tool, which runs your code and generates types based on it.
dap-mode
-
GNU Debugger "GDB" Adds Support For Microsoft's Debug Adapter Protocol
GDB with gdb -i dap allows you to debug any language that GDB can debug from within Emacs' dap-mode: https://github.com/emacs-lsp/dap-mode
-
Eglot and debugging python
lsp's brother. One search away. https://github.com/emacs-lsp/dap-mode
-
How to debug go tests with lsp and dap mode?
Debug template for go subtest was just added: https://github.com/emacs-lsp/dap-mode/pull/704/
-
Emacs as IDE
Debugging (kind of an IDE feature) is a little harder. Out of the box, Emacs can at least debug emacs-lisp (with built-in features) and C (via gdb integration). Beyond that, take a look at dap-mode for other language options. Similarly, take a look at lsp-mode or eglot for code completion, more advanced linting, etc.
-
Eglot has landed on master: Emacs now has a built-in LSP client
At least for web development I believe eglot is strictly worse. It does not support running multiple servers (e.g. tsserver and eslint-ls) (https://github.com/joaotavora/eglot/issues/976) which is supported by lsp-mode and neovim's built-in lsp client. Also, it does not have any equivalent to dap-mode which is lsp-mode only. Although worth noting dap-mode is currently useless for js (https://github.com/emacs-lsp/dap-mode/issues/369).
-
EGlot as LSP - Interface & DAP
Hi, as it seems EGlot will receive the blessing of inclusion into vanilla Emacs. That makes me wonder how I am supposed to use dap-mode at it swaps in lsp-mode as a dependency.
-
Debugging GameBoy Advance (GBA) programs/games in Emacs
We will use dap-mode with the dap-gdb-lldb option here. Under the hood, it uses the debug adapter from the Native Debug VSCode extension. Configuring it is described on the dap-mode webpages. After we have configured dap-mode, we could in theory reuse the launch.json configurations from the VSCode related articles above. That will require that you also use lsp-mode, as dap-launch depends on the lsp-workspace-root function and will not resolve when lsp-mode is not used. I don't use lsp-mode with C (company-clang and company-c-headers provide what I need), so the next logical solution would be to create a debug template ourselves:
-
John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips
Hmm it does seem like Emacs is growing support for the Debug Adapter Protocol (DAP), the LSP-alike convention that allows language developers to build language-specific debuggers that tie into the VSCode UI: https://github.com/emacs-lsp/dap-mode
-
Programming in Python
So, what do you need: - Language server for Python (lsp and lsp-ui) Use lsp-mode it's more reach with features at the moment https://emacs-lsp.github.io/lsp-mode/page/installation/ - Real-time program debugging (dap-mode) https://github.com/emacs-lsp/dap-mode
-
lsp-mode vs eglot
Seems like too much work and the issue has been closed and not reopened since 2018 sadly. It looks like it won't be happening any time soon. https://github.com/emacs-lsp/dap-mode/issues/2
What are some alternatives?
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
eglot - A client for Language Server Protocol servers
changelog.com - Changelog is news and podcast for developers. This is our open source platform.
lsp-mode - Emacs client/library for the Language Server Protocol
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
realgud - The Grand "Cathedral" Debugger rewrite
ecto - A toolkit for data mapping and language integrated query.
ardour - Mirror of Ardour Source Code
pdb-cheatsheet - A cheatsheet for the Python Debugger (pdb)
alchemist.el - Elixir Tooling Integration Into Emacs
code-debug - Native debugging for VSCode