Skip to content

Support Prototype launch cofigurations #1964

Closed

Description

@erizzo-cfa

Eclipse Launch configurations can support the concept of Prototypes, templates that other configs can inherit values from. It's a powerful feature for workspaces with many run configurations.
It would be useful for the Spring Boot App launch type to support prototypes, so common configuration could be shared and inherited.

According to this (taken from the page linked above), it seems like a straightforward thing to implement:

Enable Prototype mechanism for your own launch configurations
Prototypes are already enabled for JDT and PDE launch configurations. Others projects have to enable prototypes in org.eclipse.debug.core.launchConfigurationTypes extension point:

<extension
   point="org.eclipse.debug.core.launchConfigurationTypes">
   <launchConfigurationType
    allowPrototypes="true"
     delegate="org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedJavaLaunchDelegate"
     delegateDescription="%localJavaApplicationDelegate.description"
     delegateName="%eclipseJDTLauncher.name"
     id="org.eclipse.jdt.launching.localJavaApplication"
     migrationDelegate="org.eclipse.jdt.internal.launching.JavaMigrationDelegate"
     modes="run, debug"
     name="%localJavaApplication"
     sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"
     sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer">
   </launchConfigurationType>
</extension>

and also implement org.eclipse.debug.ui.AbstractLaunchConfigurationTab.initializeAttributes() for their specifics tabs.

There don't appear to be any workarounds or alternatives. Copying existing launch configs doesn't really give the same capability.

Activity

  1. added
    for: eclipse
    and removed on Aug 12, 2026
  2. added this to the 5.4.0.RELEASE milestone on Aug 12, 2026
  3. added a commit that references this issue on Aug 12, 2026
  4. martinlippert commented on Aug 12, 2026

    @martinlippert
    Member

    Thanks a lot @erizzo-cfa for reporting this enhancement request, will ship as part of the next release. If you want to try this out early, feel free to grab an early snapshot build from https://cdn.spring.io/spring-tools/snapshot/nightly-distributions.html - but it might take a little while before this fix appears in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsetype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions