Skip to content

export the utility method requirements.resolveRequirements() as extension API #639

Description

@testforstephen

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;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions