mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#lsp

2 Beiträge2 Beteiligte0 Beiträge heute

Dear Emacs/Java Fediverse,

I'm setting up `lsp-mode` and `lsp-java` in Emacs for the first time (don't ask) and it looks like the latter only supports Eclipse's LSP implementation, which of course, being Eclipse, poops out a whole bunch of extra settings files all off the source file tree when it first runs.

If I wanted to use a bad IDE like Eclipse I'd just use that, I really don't want it's little setting file turds littering the repo (Gradle is bad enough).

Is there any of: a) An alternative LSP server for Java that is supported somehow, or b) A way to make lsp-java/Eclipse read all of the extensive declared configuration in Gradle's config and hence not need to duplicate that in a billion places?

Help a hacker out here please!

#java#emacs#lsp
Antwortete im Thread

@GeanyIDE
I saw a few web articles since the 2.1 release of Geany. They more or less rephrased the release notes we published. Which is totally fine.

But I guess it was missed that the Geany-Plugins collection was also released and beside nice small additions in there, there was a whole new plugin:

Geany-LSP

This plugin integrates any (or least almost) LSP server into Geany and enriches Geany's functionality a lot. From my point of view, this is a great addition which lots of useful additional features.
So, if you wrote and will write an article about Geany, please notice the Geany-LSP plugin and tell other Geany users about.

The plugin is distributed as part of the Geany-Plugins collection, see https://github.com/geany/geany-plugins.

It's development and issue tracker can be found at its project page: https://github.com/techee/geany-lsp

The plugin developer did a great job in writing the plugin and also extending the Geany core to work with the plugin. This was a hard bit of work.

Magic Completions in `rust-analyzer` (a Language Server Protocol implementation for Rust), rust-analyzer.github.io/book/f.

- `expr.if` expands to `if expr { }` or `if let … { } ` for `Option` or `Result`
- `expr.dbg` expands to `dbg!(expr)`
- `expr.match` expands to `match expr { … }`
- `tmod` expands to `#[cfg(test)] mod tests { use super::*; #[test] fn test_name() { } }`

rust-analyzer.github.ioFeatures - rust-analyzer

We (programmers) all use them (I hope): language servers. LSP stands for Language Server Protocol, which standardizes communication between coding editors or IDEs and language servers, facilitating features like autocompletion, refactoring, linting, error-checking, etc.... It's interesting to look under the hood a little bit to see how your code editor actually communicates with a language server.

packagemain.tech/p/understandi

packagemain.tech · Understanding the Language Server ProtocolVon Alex Pliutau

A new release of the Open Dylan compiler, IDE, and tools is now available for download! It has been a while since we've done a release and this release includes various bug fixes for the compiler, a new multi-line string literal syntax, the Dylan LSP server for emacs and VS Code, and enhancements to Deft, the Open Dylan command-line tool.

See the 2025.1 Release Notes for an overview of what's in this release: opendylan.org/release-notes/20

opendylan.org

opendylan.orgOpen Dylan 2025.1 - Open Dylan

Ça y est j'ai pas mal de trucs qui marchent sur Neovim. J'ai juste un bug dans netrw, qui apparemment est connu. Assez insupportable mais bon… on va espérer que ça soit vite fix.

Et sinon je dois comprendre pourquoi pyls avec memestra ne me dit pas pour les fonctions dépréciées de Python. Genre datetime.utcnow(), il ne me dit pas que c'est déprécié. Par contre si je marque une fonction dans mon code comme dépréciée, oui il va me le signaler.

Peut-être que c'est pas le bon outil, peut-être que je fais n'importe quoi, je ne sais pas !

#Python#NeoVim#Vim

TIL: If you are using a language server capable of autoformatting, formatting your whole file in Neovim is as easy as calling vim.lsp.buf.format().

And since LSP formatters use edit commands instead of replacing your whole file, Neovim can keep track of the cursor position, marks, and all kinds of other stuff that wasn't possible with just `:%!formatter`.

I've replaced my custom tiny autoformatting plugin with this and I don't regret it.

codeberg.org/scy/dotfiles/comm

codeberg.orgMaking sure you're not a bot!

I was just wondering if I am the only person among the FreeBSD users having issues with LSPs? Seems like there are many LSPs that are not working under FreeBSD. Tried to integrate some in my Neovim setup just to notice that quite a lot of them are not working or at least are not supported on FreeBSD Mason and Lazy seem to complain about everything. How are you guys dealing with this?