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:

#Jarchive teaches emacs how to open project dependencies that reside inside jar files. #Jarchive will open jar dependencies provided to #Eglot by lsp servers. This should work out of the box with #Emacs 29 and recent Eglot versions.

https://git.sr.ht/~dannyfreeman/jarchive

~dannyfreeman/jarchive - sourcehut git

Remote Linux kernel development with Emacs

I work on developing features and fixing bugs in the Linux kernel in areas specific to IBM Power. I use a number of Emacs’ facilities to get my work done.

Dave’s Blog

Title: P1: I configured Eglot + TRAMP + Org source blocks. [2024-07-07 Mon]
I also wrote two functions for Auto-Save #files#.
When you get message: "Use M-x recover-this-file".
To check difference before that and to remove #file#.

And I configured Python code snippets or templates with
abbrev and sketeletons (built-in packages, without
yasnippets and other shit).
😶 #files #file #dailyreport #emacs #eglot #jupyter #autosave #snippets #issuecomment #files #file

Title: P0: I configured Eglot + TRAMP + Org source blocks. [2024-07-07 Mon]
It is Jupyter alternative. ⛳

Now I can edit Python files remotely within or without
Org-mode with full IDE features. ˊ・ω・ˋ And I can easely
switch to any other language. 😹

A little hack for that I took from here:
https://github.com/joaotavora/eglot/issues/216#issuecomment-1052931508

It is “C-c '” key that acitvates Org source block editing. #issuecomment #dailyreport #emacs #eglot #jupyter #autosave #snippets #issuecomment #files #file

org-edit-special and eglot · Issue #216 · joaotavora/eglot

Hello, thanks for the eglot, it looks very promising. Right now, I am trying to configure eglot. I have added to my init.el the following: (use-package eglot :ensure t :hook ((python-mode . eglot-e...

GitHub
Title: P1: I use Emacs as Python IDE: [2023-11-10 Fri]
jedi-language-server in addition to jedi itself.
Eglot have integration with flymake for errors checking and only require python-language-server.
As I see from articles you will need 'company' for Eglot anyway for good autocompletion.
☿\n#emacs #python #eglot

Title: P0: I use Emacs as Python IDE: [2023-11-10 Fri]
company-jedi, flymake, idle-highlight and self-written indentation for TAB.

Others use: elpy, pyright, eglot.

I didn't try typecheckers for Python:
- pyright - MIT. dependences: nodejs. Emacs packages: Eglot or lsp-pyright
- mypy - MIT, practically no dependencies. Emacs packages: Flycheck or SerialDev/mypy-mode

Eglot distributed with GNU Emacs since Emacs version 29.1. But for Jedi it require:\n#emacs #python #eglot

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

https://codeberg.org/teoten/esr

esr

R's Tree Sitter Major Mode

Codeberg.org

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