ssi-schaefer / lcdsl

Eclipse Launch Configuration DSL (Xtext based)
Eclipse Public License 1.0
23 stars 12 forks source link

new feature: Add required dependencies #29

Closed enikao closed 4 years ago

enikao commented 5 years ago

It would be nice to have a quickfix that adds all required dependencies to a launch config.

This could work

In any case, we should add transitive dependencies, too.

mduft commented 5 years ago

This is actually the default with LcDsl. You don't have to declare all dependencies. Just declare the entry point bundle. LcDsl will figure out the dependencies on it's own. Usually, all our (in my case) launch configurations contain a single 'plugin' directive. The rest is 'application', 'workspace-dir', etc.

enikao commented 5 years ago

Yes, I'm aware of the default behavior.

This feature would write the resulting list into the launch config. That's useful for debugging, and also to fix issues with the auto-resolver (see #26).

mduft commented 4 years ago

Its not exactly what you wanted, but there now is an action on a launch configuration which will pop up a dialog listing all resolved plugin dependencies in lcdsl syntax (for copy & paste).