#eglot — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #eglot, aggregated by home.social.
-
Programming language support in #Emacs is much enhanced now that #Eglot brings robust support for #LSP (Language Server Protocol). Eglot is established and mature, and opens up the wealth of sophisticated language support in that ecosystem.
@i_dabble For #Ruby, you should start with https://emacs-lsp.github.io/lsp-mode/page/lsp-ruby-lsp/
and for how to get Eglot working, start with the Emacs documentation: https://www.gnu.org/software/emacs/manual/html_node/eglot/Quick-Start.html
-
My current version is 1.23.xxx, list-package shows a 1.24. Nice.
Yet: any idea how to get any information about what is new? The github repo now seems to be really outdated. Is it really like
% git clone ...savannah...emacs...
git log -- lisp/progmodes/eglot.elOr am I missing something?
-
Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot
https://jointhefreeworld.org/blog/articles/emacs/emacs-eglot-scala-kotlin/index.html
Comments: https://news.ycombinator.com/item?id=48990219
#HackerNews #EscapeIntelliJ #Scala #Kotlin #LSP #Emacs #Eglot #Programming
-
[eglot] (warning) Reached ‘eglot-max-file-watches’ limit of 10000, not watching some directories
Yet:
- (message "%S" file-notify-descriptors) spits out 5 entries
- The one project on which I use eglot has 3500 files and directories in totalIdeas? Hints on where I could look what it thinks it is watching?
-
@PvN
> #Emacs config for working with #Python* #EditorConfig for seamless project-specific configuration of basic text editing rules, that every modern text editor can obey.
* The default 'python-mode' is fine.
* #Eglot for #LSP enhances that. Follow Eglot documentation to set up for Python.
* #Magit for excellent Git porcelain.
* 'pyvenv-mode' to detect and activate Python virtualenv in a project. -
Anyone using #Emacs, #Eglot and #Typescript?
How do you like the code completion? Afaict they come 100% from the #LSP server, but somehow they can read my mind and put the one I need absolutely always last.😩
Is that just me?
In the example, the last is the good one. I have no freaking idea where the other shit comes from with the trigger characters sprinkled all around. WTF:
-
TIL about `eglot-extend-to-xref` which solves a long standing woe I had with eglot/LSPs. When jumping to a dependency by default the buffer is not under the same LSP server so the dependency doesn't have jump-to-definition enabled. By enabling `eglot-extend-to-xref` the dependencies are also covered by the same #eglot session so jump to definition works! #emacs
-
I have just released version 1.0.0 of ESR: an R tree sitter mode for #emacs
It is the first version independent of #ESS although tree sitter can be paired with ESS.
ESR's interaction mode can use comint or #vterm The second one plays well with #radian Coding tools for now are supported by R's package #languageserver and can be connected with #eglot
A big step for the #rstats users of Emacs
-
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 navigationThings 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 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
-
-
#Swiftlang LSP server renaming works much more reliably than #Xcode's.
-
A minimal, declarative setup for productive Rust 🦀 hacking on Emacs + Guix
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. 😜
-
#emacs #eglot #rust How to tell eglot where the root of my Rust sub-project can be found (https://www.unwoundstack.com/blog/eglot-finding-sub-projects.html)
-
For ease of adoption, #lsp. For appearance aesthetic, #eglot. I guess I'm in a prolonged bake-off in #Emacs to see which one works better for me. Now if only I would remember I also have #yasnippet at my disposal, I might save a few hundred keystrokes. Not that it matters on this 10-year-old #mechanicalkeyboard. What color switches you ask? 📢 BUCKLING SPRING COLOR SWITCHES. 🔇
-
Eglot and eclipse-jdtls, a dream team.
Jdtls sends a non-standard message "language/eventNotification ... Preview features enabled at an invalid source release level 21", non-standard insofar as it is not mentioned in the LSP-specification: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/
At least Eglot lists the message in its message buffer.
Even me reading the message did not reckon it means: WE'RE ALL SCREWED UP, but keep running and pretend to be OK.
-
What's not to like about eclipse-jdtls. It works just great with Emacs Eglot, except when it does not:
"Workspace restored, but some problems occurred.\nnull"
Result: the server does not provide any errors.
What can be more infuriating than no error message at all? An error message like this: "na na nana na, I know there is a problem but I won't tell you!"
-
I've been using #Emacs for about 25 years now, and it keeps improving. Thanks to #Eglot, I'm able to make use of nice modern tools such as rust-analyzer and other #LSP servers.
I recently changed jobs, and we now use a big monorepo where the Rust crates are nested 3-4 leves deep inside the working directory. As far as I can tell, this causes trouble with the rust-analyzer auto-discovery and I get a "Failed to discover workspace" error. See https://github.com/emacs-rustic/rustic/issues/110 for a work-around!
-
Pulindo a configuración do meu Emacs como "Python IDE", ainda non queda fina de todo.
Tamén probando BeanCount, para contabilidade en texto plano.
#emacs #emacsElpaca #eglot #tree-sitter #BeanCount