Currently the Java Debugger and Test Runner have the duplicated logic to check JDK installation directory. Could the vscode-java return the resolved RequirementsData value as the return value of activate function? By this way, other extensions can get the resolved java_home info directly.
const extension = vscode.extensions.getExtension("redhat.java");
const extensionApi = await extension.activate();
return extensionApi.requirementsData;
Currently the Java Debugger and Test Runner have the duplicated logic to check JDK installation directory. Could the vscode-java return the resolved
RequirementsDatavalue as the return value ofactivatefunction? By this way, other extensions can get the resolved java_home info directly.