mihnita / external-filter

Eclipse plugin that takes text from the current editor, processed it through an external filter, and brings it back.
http://www.mihai-nita.net/java/
Apache License 2.0
1 stars 1 forks source link

Command line replacement macros YES PLEASE! #5

Open rulatir opened 9 years ago

rulatir commented 9 years ago

From the planned features section on the webpage:

Allowing “replacement macros” in the command line (for
things like document/project path, home folder, environment,
Eclipse variables, prompt for input, etc.

A thousand upvotes to this! My prospective tool would totally need to know the location of the file from which the selection comes. FYI, it would be a translation markup helper that would insert the textdomain name as a string, and the textdomain would be determined by the source file's location...

At the very least, could you (add the option to) chdir to the current file's directory before calling the script?