Skip to content

Allow for "adding" to a java launch classpath configuration via launch.json rather than replace it completely #980

Description

Sometimes there is a need to add additional classpaths to a launch configuration. However, right now this is only possible by providing ALL classpaths (which are usually automatically set when using java projects, gradle or maven) and then add the additional ones.

It would be nice to have the option to add to the automatically determined classpath. Either by

  • an additional option in the launch configuration
  • or maybe introduce a generated classpath variable that can be reused in the classpaths property (e.g. similar to how the PATH variable works in the OS: PATH=$PATH;...)
Current Result
  • adding manual classpaths only works if the ENTIRE classpath (gradle/maven) is provided manually
Expected Result
  • an option to ADD to the existing generated classpath, rather than only a replace option
Additional Informations

Feature Request

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions