Spent the morning replacing lsp-mode with Eglot due to slop code in the former.

Seems to have gone smoothly, I'm really enjoying the snappiness of it, using lsp-mode by comparison is like wading through molasses.

Am using the following:

* java-language-server as the LSP language server, which is blazingly fast
* company-mode for completions
* breadcrumb-mode for headerbar navigation

Things I'm missing still (suggestions welcome!):

* auto-import (this may be a limitation of the LSP impl?)
* a context menu for jumping to declarations at point
* flymake error/warning/info summary in dired mode

#Emacs #Eglot #LspMode #Java

#Emacs community. Anyone proficient in combining #company_mode, #Eglot and #yasnippet. I have a yasnippet defined and it expands even without a valid prefix, just after a space character.

My company backends are, according to company-diag:

company-backends: ((company-capf :with company-yasnippet))

More details: https://emacs.stackexchange.com/q/85540/12065

Completion in eglot with yasnippet should not trigger on empty prefix

Can anyone explain and provide a hint how to fix the behavior exhibited in the following call to company-diag? Emacs 30.2 ... Company 20250911.129 company-backends: ((company-capf :with company-

Emacs Stack Exchange

@mattsheffield

#eglot to talk to language servers

@greg How's your experience with #Ty in #Eglot going?

#emacs #python

@veit

Anyone tried this with #emacs #eglot? Will try it soon.

#Swiftlang LSP server renaming works much more reliably than #Xcode's.

(Using #Emacs with #Eglot btw)

I was fighting with #lsp-mode in #emacs to get it to use my system #clangd and failed. But I discovered #eglot-mode which picked it up fine and I much prefer the #ui choices they have made. How long has it been in core Emacs?

A minimal, declarative setup for productive Rust 🦀 hacking on Emacs + Guix

https://jointhefreeworld.org/blog/articles/rust/simple-guix-emacs-rust-development-environment/index.html

I noticed there was a blatant lack of resources and documentation on this particular setup.

With a tiny manifest and a small Emacs configuration, you get a powerful, reproducible, elegant Rust development environment.

#rust #guix #emacs #dev #manifest #shell #development #environment #ide #clippy #lsp #gnu #reproducible #direnv #eglot

Never start Emacs Eglot for a Java project without a .git/ directory.

This drove me nuts now a second time. Without the .git/ directory, eglot doesn't know where the project's root directory is. Eclipse-jdtls goes all stupid, ignores .classpath, .project and all the package names are marked as wrong.

There are surely ways to tell Eglot where the project root is, but in the end there will be git anyway. Just don't to start your project without. 😜

#eglot #emacs #jdtls #eclipse_jdtls #git

@mark M-x ff-find-other-file (when bound to a suitable key) is a quick way to switch between source and header files. Beyond that using eglot is good although there is some setup involved. I'm also a long time fan of the dumb-jump package.

#emacs #eglot