Skip to content

Import extra SDKs automatically into IDE #1676

@hohwille

Description

@hohwille

Feature idea

With #1298 we now have the ability to get extra installations of tools such as java, dotnet, etc.
Now if I make use of this feature in my project and run my IDE (Eclipse, IntelliJ, VSCode, etc.), I would love to have these extra versions of e.g. java configured automatically by IDEasy.

Additional context

Similar to #1166 we could merge according tools using a specific add-on template.
Some things to consider:

  • we should access our custom tools Java model to find what is configured
  • in the IDE commandlet we should verify that the according extra tool installations actually exist before we try to add them
  • the for each such extra installation we should merge the according config into the workspace config file of the IDE.
  • the SDK instance should use the name configured by the IDEasy admin user in the JSON file. Special attention is needed that nobody configures an extra installation of «tool» (e.g. java), that he also names «tool». Instead extra installations should have semantical names briefly describing their purpose (e.g. frontend, backend, process-server, etc.). Otherwise if you create an extra installation of java called java then the ID java is already taken for the main installation of java and the extra installation would then also have the same name while the name should be unique. We might consider adding some extra- prefix implicitly but I would rather not do that and encourage the end-users to take reasonable decisions to make thins work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions