dumb-jump
dap-mode
Our great sponsors
dumb-jump | dap-mode | |
---|---|---|
14 | 22 | |
1,538 | 1,258 | |
- | 1.4% | |
3.3 | 6.4 | |
about 2 months ago | 6 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | 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.
dumb-jump
-
Jump around huge code bases in Emacs without LSP or TAGS
TLDW It describes the dumb-jump emacs package: https://github.com/jacktasia/dumb-jump
-
Scala support
I use lsp for C++, but for jump to definition I like dumb jump, because it works.
-
How to develop Xcode project in emacs?
Oh, I forgot to mention, I have also found dumb-jump to work pretty well for Xcode projects, with no configuration.
-
Closing 10% of all Emacs bugs
I don't really have any trouble using Emacs on the "modern" C++ codebases that I'm working on. I've tried lsp-mode and eglot with clangd but found that really all I need is a little bit of elisp to call clang-format, dumb-jump (<https://github.com/jacktasia/dumb-jump>) to jump to definition, and project-compile to build the project and collect warnings/errors into a buffer.
-
Crystal Programming Language
> 2. No language server (apparently it's just impossible due to the way the language works). Tbh, I'd be happy with just "Go to definition" but alas, no-can-do!
Emacs' dumb-jump appears to have some basic support for go to definition: https://github.com/jacktasia/dumb-jump/blob/master/dumb-jump...
But out of curiosity, what is the issue from a technical point of view?
-
How I use Emacs to write Perl
For jumping between function definitions I use dumb-jump, which usually just works. I configure dumb-jump to use ag for its searching which makes it work very quickly.
-
Trying to get "better-jumper" work.
Mark ring may be what you want. If you want to jump around a code base, Dumb Jump is great: https://github.com/jacktasia/dumb-jump
-
Navigating an enormous code base
dumb-jump: another tool based on ripgrep, this one defines regexes for what definitions look like in a bunch of languages. This gives you a primitive jump-to-def functionality without any setup (except installing ripgrep). The pros and cons are roughly the same as rg.el and deadgrep: you might not jump to exactly the thing you want (if there are multiple choices, you can select the definition you prefer), but it requires no setup and is pretty fast.
-
Does anyone use Emacs to development big Golang project like Kubernetes?
I recommend https://github.com/jacktasia/dumb-jump
-
Building an Intelligent Emacs
While I have no idea about tags, I want to say that you may find something as simple as dumb-jump[1] does what you want most of the time.
[1] https://github.com/jacktasia/dumb-jump
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?
ChezScheme - Chez Scheme
eglot - A client for Language Server Protocol servers
deadgrep - fast, friendly searching with ripgrep and Emacs
lsp-mode - Emacs client/library for the Language Server Protocol
quelpa - Build and install your Emacs Lisp packages on-the-fly directly from source
realgud - The Grand "Cathedral" Debugger rewrite
rg.el - Emacs search tool based on ripgrep
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
importmagic.el - An Emacs package that resolves unimported Python symbols
pdb-cheatsheet - A cheatsheet for the Python Debugger (pdb)
crystal-spacemacs-layer - Spacemacs contribution layer for Crystal
code-debug - Native debugging for VSCode