From 10e3d0ebd2c7b39170996879eb4f72bb959581f4 Mon Sep 17 00:00:00 2001 From: Rob Stryker Date: Mon, 9 Nov 2026 17:14:50 -0500 Subject: [PATCH] Register .jsh as a java-language file extension Routes .jsh (JShell script) files through the same LSP document selector as .java files (keyed by language id, not extension), so the classpath-aware .jsh content assist implemented server-side in eclipse.jdt.ls (eclipse-jdtls/eclipse.jdt.ls#3973) actually gets used by the client. Deliberately last: the server-side pipeline (completion, diagnostics, hover, plus guardrails on save/organize-imports) was proven out and hardened first, since any client sending .jsh requests exercises all of that immediately once this lands. Co-Authored-By: Claude Sonnet 5 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 99513c139..85b99f9f6 100644 --- a/package.json +++ b/package.json @@ -206,7 +206,8 @@ "id": "java", "extensions": [ ".java", - ".class" + ".class", + ".jsh" ], "configuration": "./language-support/java/language-configuration.json" },