eclipse.jdt.ls icon indicating copy to clipboard operation
eclipse.jdt.ls copied to clipboard

Multiple projects setting.json not configuration in single jdt.ls instance.

Open BABUGANESH-R opened this issue 3 years ago • 1 comments

A single jdt.ls instance started by creating a multiple projects. each project setting.json configuration [java.configuration.runtimes] will be different. but not supported in each configuration in single jdt.ls instance. Example :

Eclipse JDT Language Server single instance.

project A - setting.json

java.configuration.runtimes : [ { "path": "/usr/lib/jvm/java-8-openjdk-amd64", "default": true, "name": "JavaSE-1.8" } ]

project B - setting.json

java.configuration.runtimes : [ { "path": "/usr/lib/jvm/java-17-openjdk-amd64", "default": true, "name": "JavaSE-17" } ]

In this case jdt.ls key [java.configuration.runtimes] choose any one value. because project A or project B some feature not supported in java jdk version miss match.

BABUGANESH-R avatar Dec 29 '22 11:12 BABUGANESH-R

I can reproduce this.

CsCherrYY avatar Feb 13 '23 08:02 CsCherrYY