social.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
social.lol is a lighthearted social hangout for the omg.lol community.

Administered by:

Server stats:

848
active users

#eglot

0 posts0 participants0 posts today

Anyone here doing #typescript development with #eslint and a #language-service like #emacs #eglot?

- to run eslint as part of the typescript compiler, I use this plugin github.com/Quramy/typescript-e, which is even referenced on the tsconfig documentation page,
- eslint-9 changed a lot of things, in particular it does not seem to work with the plugin

But for reasons I would like to use eslint-9. Anyone here who has experience with this and got it to work?

If you are using Emacs with Eglot and a language server, you may be interested in eglot-cthier.el (formally eglot-hierarchy.el) which alles to show and navigate the call hierarchy of an item.

After feedback here, on the mailing list and on codeberg, an improved version is ready for testing.

I tested it with eclipse-jdtls and tsc.

Feedback welcome.

#Emacs #Eglot #LSP #language_server #LanguageServerProtocol #eclipsejdtls #tsc #Typescript
#codeberg

codeberg.org/harald/eglot-supp

Codeberg.orgeglot-supplementsSupplements for Emacs Eglot.

I'm not a huge fan of #GoLang, but I frequently pick it for projects that I will not "own" forever. Why? Because it is easy for programmers to learn and figure out. It's fairly straightforward compared to the weird-ass languages I really love.

But one thing I am a huge fan of? The experience of developing Go in #emacs. Gosh, what a groovy editor. It makes everything so damn easy!

I can't be the only one with these #emacs eglot weirdness. It happens independent of the backend used (Python's pyright, elm, haskell-language-server, ...) and it's extremely annoying. Restarting the #eglot session works, but I have to do this all the time.

Emacs is great. But for Java coding, Eglot with eclipse-jdtls is still poor. It mostly fails me due to missing documentation of eclipse-jdtls of how to configure it with non-gradle, plain projects.

But intellij annoys me with its pathetic idea of incremental search. A quick Internet search brought up github.com/strindberg/emacsj

- Isearch works
- Zap to char works
- Collapse white space works
- Transpose words works

And more. Just great💕 .

GitHubGitHub - strindberg/emacsj: Emacs-inspired IntelliJ pluginEmacs-inspired IntelliJ plugin. Contribute to strindberg/emacsj development by creating an account on GitHub.

If I have #Emacs working fine, what #Debian packages do I need to get an LSP server for my language[0]?

The #Eglot documentation says

> The language server program must be installed separately, and is not further discussed in this manual; refer to the documentation of the particular server(s) you want to install.

but I have no idea which "particular server I want to install", nor which Debian package provides it.

[0]: #Python, as it happens; but I'm wanting a general way to answer this.

To my #emacs bubble: is there a way to get #flymake to always show the diagnostics for the current buffer? I can interactively call flymake-show-buffer-diagnostics but that’s only for the current buffer and has to be repeated on every buffer change. Is there any alternative to this, especially when using #eglot?