eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

217
active users

#lsp

1 post1 participant0 posts today

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

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?

#emacs folks who program #java show me your config files!

I'm looking for moving from intelij to emacs if possible. #lsp-java seems good... is that what you use? I'd love to have it connect up to my ollama server for code completion too.

I'd like to break the intelij cycle and get back to Emacs for everything. Any advice I'll take

@stib Shouldn't it just work out of the box if your #LSP supports the `textDocument/documentColor` method as mention in the PR? I'm using #tailwindcss-language-server for #CSS and it does show the swatches in the completion picker w/out any extra config.

There's a dedicated LSP mentioned in the PR that displays the swatches right in the document buffer as well: github.com/q60/uwu_colors (haven't tried it).

PR: github.com/helix-editor/helix/

GitHubGitHub - q60/uwu_colors: a dead simple language server to colorize hex color strings via textDocument/documentColor. mirrora dead simple language server to colorize hex color strings via textDocument/documentColor. mirror - q60/uwu_colors

LEGO® SERIOUS PLAY® Methode, und um alle zu ermutigen, sich an der Lösung zu beteiligen, einen Beitrag zu leisten und sich dafür zu engagieren

So wie die LEGO Gruppe seit Jahrzehnten Kinder dazu inspiriert, ihre Träume zu verwirklichen, können Erwachsene auch mit #LegoSeriousPlay ihre Visionen für zukünftige Strategien entwickeln.

Im Jahr 2010 beschloss die #LEGO Gruppe, die #LSP-Methode als Community-basiertes Modell unter der Creative Commons-Lizenz anzubieten.

lego.com/de-de/themes/serious-

A lot of trouble with the new #Vue #LSP.

First, it disables all other typescript LSPs, even if there is no Vue in the project; fortunately, this can be fixed with:

(setq lsp-volar-take-over-mode nil)

Maybe a better way would be to advise `lsp-volar--activate-p' to detect Vue by parsing package.json.

Second, somehow the server sends empty "textDocument/publishDiagnostics" messages about a second after sending one with diagnostics! As a result, the diagnostics appear for a second and then disappear.

For now, I've worked around that by advising `lsp--on-diagnostics' to ignore empty messages if they come less than five seconds after a non-empty one. Not sure where to go next with this.

The code: sqrtminusone.xyz/configs/emacs

Finally, the server sometimes crashes randomly. It happened once or twice today.

sqrtminusone.xyzEmacs configFreedom is a state of mind
Continued thread

So it does look like the TypeScript language server has a limit of 4MB source size where it disables type checking (and actually shows an erroneous error stating that exports that exist in the file do not exist) for files that are imported but not open in the current workspace/session.

Still not sure if this is documented anywhere or not (haven’t been able to find it, if it is).

99.99999% of the time, unless you’re doing niche stuff like I am, you won’t run into this.

Workaround: should you have such a large file, e.g., with a large generated object, try and refactor to split it up into multiple files and rejoin it a separate file. The actual object size/memory usage isn’t the issue, it’s the file size.

github.com/typescript-language

GitHubServer fails on import when exported object constant has too many entries/is too large · Issue #951 · typescript-language-server/typescript-language-serverBy aral
#TypeScript#max#lines

Hit an interesting limit in the TypeScript language server¹:

Looks like there’s a limit on the number of entries an object (constant) can have before the language server balks. Seems to hit it around 1,343.

(I’m generating an object for an icon library.)

Doesn’t appear to be related to file/memory size (breaking up the same number of entries into several objects works).

Anyone know what limitation exactly I’m hitting (if it’s documented somewhere?) Been searching but couldn’t find any reference to it.

¹ It’s definitely a language server limit as I tried in VSCode as well to rule out it being a limit in Helix Editor.

Replied in thread

@bobidle Also aktiv, meinst du, und nicht nur mit einem automatisiert verschickten Crashdump und einer Zeile Fehlerbeschreibung dazu?

Mmh, zuletzt wäre das dann vermutlich mein MR vor 8 Monaten für #KDE #Kate, um den #Typst #LSP hinzuzufügen. (Ist das echt schon so lange her? Uff, vielleicht sollte ich mal prüfen, ob der überhaupt noch funktioniert und sich nicht in der Zwischenzeit etwas grundlegendes geändert hat.)

#MasterMe von @trummerschlunk@chaos.social @falktx@mastodon.falktx.com benutze ich seit es das gibt für meine Projekte fast immer. Vielen Dank für dieses #OpenSource Tool!
Manchmal ist aber hinten dran das
#LSP #Clipper noch nötig. Besonders wenn es um Onlineaufnahmen mit suboptimalem Audiokonferenzequipment geht.
So auch bei der Vorbereitung dieser Tagung zur
#Inklusion:
https://bildung.social/@komin/113803547189314869

#Audio #FX

I would like to give back to 2 projects that gave me a lot, #Emacs and #fsharp.

Since it seems there is not a comprehensive Tree-sitter mode for F# yet, I gave myself the (long term) challenge to learn enough about #Tree-sitter, major modes, #LSP and the like to write one (or at least to contribute to one).

Along the way, I promised myself to share in blog posts what I happen to learn.

Here's a first article with the notes taken while wrapping my head around Imenu.

arialdomartini.github.io/emacs

arialdomartini.github.ioEmacs: a peek under Imenu's hoodRandom thoughts about programming