#LanguageServer

Skyper šŸ’»šŸŽ§ā˜•šŸ“–Skyper@fosstodon.org
2025-11-25

"[Helix] Spellchecking in Git commits with Harper"

blog.skyplabs.net/posts/helix-

"Unlike Vim, Helix doesn't include a spell checker natively. However, Helix has built-in support for LSP, which makes it easy to pair it with an LSP-based spell checker such as Harper. All you need is tweaking a bit your languages.toml Helix configuration file as explained in the official documentation."

#Helix #Vim #LSP #LanguageServer #Harper #SpellChecking #Linux #Git #GitCommit #VCS #Dotfiles

Javed A. ButtjavedAB
2025-10-30
2025-10-24

Eclipse Fun:

1. Language server jdtls code formatting: needs XML file exported from eclipse.
2. Command line JavaCodeFormatter (help.eclipse.org/latest/index.) wants a properties file for -config

I used

xq <eclipse-formatter.xml | jq -Mr '.profiles.profile.setting[] | ."@id" + "=" + ."@value"' >config.props

and all worked but the indent with spaces. It used tabs. Reason:

- XML export uses value="SPACE"
- the property file needs ...=space

šŸ¤¦ā€ā™€ļø

#java #eclipsejdtls #codeFormatter #languageServer

2025-10-12

With clangd as an lsp how do you deal with any but the simplest build systems?

For instance, in MicroPython there are 24 "ports" and most of them have multiple "boards" or "variants". Altogether there are 200+ boards and variants put together.

There are probably a half dozen different compilers used for different CPU architectures, different builds have radically different compiler flags, and some files are included in all 200+ of those builds.

Oh and did I mention that some use make and some use cmake? (besides the ones that use west, but I am gonna just choose not to care about those right now)

I know how to pick ONE make-based build and make a complier_commands.json for it using bear, but it's going to only give me a tiny sliver of the whole picture.

Yes, one encounters the same problems when trying to validate changes via compiling, but since I'm new to language servers and clangd in particular I feel like I should ask.

(If it makes a difference I'm using neovim 0.11.3)

#lsp #languageServer #clang #clangd #askFedi

2025-10-09

Maybe this #ProofOfConcept is useful for your, if you do #Jenkins pipeline scripts, but your editor doesn't have a proper plugin to validate these scripts.

github.com/hasselmm/JenkinsLan

#LanguageServer #QtCreator

2025-09-06

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!"

#emacs #eglot #eclipsejdtls #languageserver

2025-09-05

Rant: Eclipse for Java

I avoid Gradle or Maven. The source setup is like Gradle though

- src/main/java
- src/test/java

and I have a few jars in ./lib . Project import gives me

- a project which is not Java
- main.java as package prefix

But worst: even in 2025 it seems impossible to tell eclipse: use all fucking jars in ./lib on the classpath. WTF.

Ultra-worst: using the jdtls requires to set up the project in eclipse, otherwise it goes ballistic.

#java #eclipse #jdtls #languageserver

N-gated Hacker Newsngate
2025-08-28

Ah, finally, the Elixir community has an "official" language server—because nothing screams like adopting a protocol from 2016. šŸ”® Meanwhile, GitHub's marketing team is busy slapping "AI" on everything, hoping you'll forget they just recycled last month's . šŸ¤–āœØ
github.com/elixir-lang/expert

Hacker Newsh4ckernews
2025-08-28
Hacker Newsh4ckernews
2025-05-22

Kotlin-Lsp: Kotlin Language Server and Plugin for Visual Studio Code

github.com/Kotlin/kotlin-lsp

2025-04-09

Coming tomorrow to Kitten… Kitten icons!

Kitten will have built-in support for the Phosphor icons set with full authoring-time language intelligence where you can search for icons via category and tag (in addition to the canonical alphabetical categorisation).

Thought this was going to take me a few hours but it took a few days thanks to running into issues with size limits, type inference from JavaScript types in modules, etc., with the TypeScript language server but I believe I’ve finally cracked it :)

:kitten: šŸ’•

#Kitten #SmallWeb #icons #PhosphorIcons #staticTypes #taxonomy #web #dev #TypeScript #languageServer

Screenshot of detail of a Kitten template open in a code editor. Author is editing Kitten component reference in a markdown block, within a H2 header. The caret is at <${kitten.icons.tags. and the autocompletion box is open showing a list of possible fields: a11y, accessibility, accessible, accomodations, account, accounts, accuracy, acrobat, activity, add. The reasty of the line of code reads } weight=duotone size=1.5em/>
2025-04-08

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

#TypeScript #max #lines #memory #constant #object #import #bug #issue #LSP #languageServer #HelixEditor #VSCode #JavaScript #microsoft #workaround

2025-04-07

Right, well, I can reproduce it with a simple example so I just filed a bug. Let’s see if it’s a known issue/limitation or what.

github.com/typescript-language

Screen recording showing the issue:

vimeo.com/1073284447?share=cop

#TypeScript #max #lines #memory #constant #object #import #bug #issue #LSP #languageServer #HelixEditor #VSCode #JavaScript #microsoft

2025-04-07

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.

#TypeScript #limit #constant #object #languageServer #LSP

2025-03-07

šŸ¤” Looks like I have to write a free, open source PHP language server myself - without php and Javascript of course. PHP really is still an awkward language for professional, modern development... Pity.

#php #intelephense #languageServer #lsp #neovim

2025-02-18

Feb 18 08:36:18 lukas: Dear Logbook, I have to write phpdoc's again in 2025 because the PHP LSP market has only intelephense as the only real LS to offer and it is as powerful as my 90 year old grandma. Not even PHP has its own LS. Sad. Here's to a new day of phpdoc's! Logbook over.

#PHP #PHPDoc #LSP #LanguageServer #nvim

2025-01-12

I did it again: a new supplement for Emacs' Eglot package: eglot-selran gives you access to the language server's textDocument/selectionRange API.

Read more: codeberg.org/harald/eglot-supp

Feedback welcome.

#eglot #emacs #eglot-supplements #lsp #languageserver #codeberg

2024-08-15

#PHP devs, do you use a #LanguageServer and if so which one? I tried searching but couldn't find any up-to-date non-proprietary options. That said, maybe some of the #foss options are good enough even if they haven't been updated in a while...? :php:

2024-04-03

Today I published a PoC for #semantictokens for #eglot, the #languageserver client of #Emacs on #codeberg .

As I am new to elisp, the code is likely horrible and code reviews with friendly suggestions are welcome. Please read the README:
codeberg.org/harald/eglot-semt

2024-03-09

#Emacs #Python folks, what's your preferred language server? If you've used multiple, please let us know why you prefer one over the other. I'm trying to pick one for myself. Also, if I've forgotten one, please write it in.

#lsp #languageserver

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst