Does Eclipse have the same extensibility as Visual Studio without any coding?
In Visual Studio, you can add an external tool and pass the selected text to it as a parameter.
Does eclipse have the same functionality or does someone need to code a plugin to do this?
If so, any specific example code to do just that, because everything I've found is a generic example of a plugin for a custom editor.
source to share
From the menu choose: Run> External Tools> Configure External Tools .
This will open a dialog box where you can create an external tool configuration (to run external programs from Eclipse):
(source: pascal-martin.fr )
At the bottom of the dialog box, there is an area for Arguments and a button for Variables . If you click on it, you will have a list of variables that you can use.
One of them is " selected_text ", which "returns the text currently selected in the active editor". :
(source: pascal-martin.fr )
This should allow you to run almost any program you want / need right from Eclipse, without having to create any plugin ;-)
The only thing is that these programs won't integrate well enough into Eclipse - but they will still be useful!
source to share