I wrote a custom launcher in Eclipse, which I can access using the Run As and Debug As options in the toolbar. I also want to be able to run through the package explorer and by right-clicking on the file editor to run. I added a tutorial here to add a shortcut, but nothing happens, it does not enter my processing code and does not complain about the dot extension setting.
Here is a snippet from my plugin.xml
<extension point="org.eclipse.debug.ui.launchShortcuts"> <shortcut id = "org.mylauncher.launchCalcShortcut" class = "org.mylauncher.LaunchCalcShortcut" description="Execute calculations" icon="icons/launch_16_16.png" label="Calculate" modes="run, debug" > <configurationType id="org.mylauncher.launchCalc"/> </shortcut>
I also played with the removal of the (optional) icon of the icon and separately checked the icon path.
I change this configuration for several hours without a good result, and it is impossible to debug, because it does not work at all in my own code.
Thanks.
Chris source share