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?
From the planned features section on the webpage:
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?