APOLLO TERMINAL v1.0 –
> █type '/help' for commands
Skip to main content
0200 / 00:00:00 / 1970.01.01
×
HOME ABOUT NEWS PROJECTS REFERENCES LINKS

A LANGUAGE SERVER THAT READS THE COMPILER'S MIND

A navy circle with a wedge cut out of its right side and a straight amber line reaching in to the centre

Most language servers read your file and make an educated guess about what the compiler would say. JETLS.jl skips the guessing and asks the compiler directly.

That distinction sounds small until you have watched a language server get something wrong that the real compiler would never get wrong, because the language server never ran your code through inference in the first place. It parsed the syntax tree, matched some patterns, and did its best. Good enough for most editing, and the reason so many diagnostics in so many languages are subtly stale by the time you see them.

Built on the compiler’s own machinery

JETLS.jl is built on JET.jl, JuliaSyntax.jl and JuliaLowering.jl - the same packages Julia’s own toolchain uses to parse, lower and analyze code, not a separate parser someone wrote to approximate them. That is why it can offer runtime-integrated, type-sensitive diagnostics: the errors it flags come from actually running your code through Julia’s inference machinery, the identical process that decides what gets compiled, so a diagnostic reflects what the compiler currently believes about your types, not a static pattern match. Go-to-definition works the same way. Ask it to jump to the definition behind a macro call and it can follow the macro to where it actually expands, because it has access to the lowered form, not just the text you typed.

JETLS is young. It supports Julia 1.12.2 through 1.13 and nothing outside that window, and its own maintainers describe it as explicitly not production ready. It had a dedicated talk at JuliaCon 2026.

Three backends in Flexible Julia

Flexible Julia, my JetBrains plugin, can drive three different language server backends: LanguageServer.jl, which runs through the Julia executable itself; Fatou, a standalone Rust binary that never touches Julia at all; and JETLS.jl, installed through Pkg.Apps.add. JETLS’s command line changed while I was building against it.

Early JETLS took --stdio directly. At some point in 2026 it grew subcommands - serve, check, schema, version - and --stdio moved behind serve. Nothing announced that to me. I found out because the process kept exiting instead of starting, and the fix I ended up with is a small function that runs jetls -- version before every launch and reads the output to guess which era of CLI it is talking to. If the output contains “Unknown CLI argument”, it is an old build, no subcommand needed. If the command exits cleanly with real output, it is new, use serve. If neither test is conclusive, I default to assuming the new format, on the theory that any fresh install from here on is more likely to be 2026-or-later than not.

Supporting three backends means three sets of failure modes and three install stories, so that whichever backend a Julia developer already has just works.

Background
EducationEBS Business School, SFSU, HSG
Experience20 Years Enterprise Systems
BuiltScipio ERP - ERP & Ecommerce System
Author"Start/Up - Set the net on fire"
JetBrains5x Plugins Published
Tech Stack
LanguagesJava, Python, JS, TS, Rust, Go, Swift, PHP
FrontendReact, Vue, Angular, HTML/CSS
DatabasesPostgreSQL, MySQL, MongoDB
CachingRedis, Memcached
Key Clients
EnterpriseL'Oréal, Amadeus, Konica Minolta, Orange
Digital1&1 Internet, Sedo.com, Creditsafe
PublicDRK, Kanton Basel, Aktion Mensch, Börsenverein