News for hackers. Stuff that matters.
Re:Show HN: Create a full language server in Go with 3.17 sp... by SwiftyBug on Sunday March 29, 2026 @08:57AM (#47562783)
Very nice. Now I want to build a language server. If only I had anything to build it for.
Re:Show HN: Create a full language server in Go with 3.17 sp... by catlifeonmars on Sunday March 29, 2026 @11:34AM (#47564027)
To give you some idea how versatile a language server is, I wrote one once to provide go-to-definition between two related blocks in a large proprietary YAML configuration file. If the definition was missing, it would also render the red squiggly line to indicate that something was misspelled.

Another time I used one to make the hosts in my SSH configuration file clickable to either open a terminal with a session or just to display cpu/memory statistics.

Lots of neat editor-independent interactions can be enabled using language servers.

Re:Show HN: Create a full language server in Go with 3.17 sp... by rumno0 on Sunday March 29, 2026 @04:51PM (#47567178)
I've been thinking about this comment for a few hours now! I love it! I like building VS Code extensions and realized quickly the benefit of writing the logic in an LSP but I would never have thought to do the SSH config thing you describe.

I've now started a Makefile lsp since you've inspired me to think about the painful scenarios that LSP can solve if I think a bit wider.

Cheers for that!!

Re:Show HN: Create a full language server in Go with 3.17 sp... by rumno0 on Sunday March 29, 2026 @11:54AM (#47564244)
thanks!

Thankfully, I finally had a reason to build an LSP (infracost LSP), so it motivated this and I'm really pleased with it