This tree represents function key assignment for each file type. It is possible to assign four function key commands (F9-F12). To add new execute key command file type, press Add button. In dialog, enter list of file extensions for which this command assignment will be used.
ExecuteEnter command that will be executed. To quickly browse to the executable file, press "..." browse button. This box can contain path and name to the executable file. If other file type is specified, EditPlug will try to execute the associated application. Don't specify any command line parameters in this box.
Start inSpecify directory that will be used as default when executing command. If omitted, default directory will be directory where is editing file.
ParametersPlace command line parameters here. %Macros can be used here and will be expanded.
WindowSelect window type in which command will be used. If executing application is console or DOS application and Capture console output option is checked, this parameter will be ignored.
HintEnter some text that will describe this command. This text will appear as Tools menu command caption and as hint on corresponding toolbar button.
SaveSelect save mode that will be used before command is executed.
Use short DOS namesIf checked, all paths and file names will be converted to the old DOS 8.3 file name format. Check this option if you're executing DOS application that can't handle long file names.
Capture console output If checked, all output of the executed command will be redirected to the small window in the bottom instead in separate console window. You should be aware of following notes:See Parser Rule.
Optional generic runtime parametersRuntime parameters can be used in any of above fields:
%n file name with path %f file name only, without path %F file name only, without path and extension %p file path only %e file extension only %s value specified in "Start in" box %P file specific parameters - see below for more info %l current line number %c current column number %w word under cursor %% percent sign %? shows parameter input dialog to enter additional parameters %S editor selectionFile specific parameters
Parameter %P is file specific parameter and it can be used for every edited file separately. In the first line of code following comment should be added:
// %PARAMETERS = "my additonal parameters"
Of course, replace '//' comment sequence with comment chars of language you use. You can use escape (\) character to enter quotes (\") or backslash (\\).
For example, if Parameters in Environment options dialog is defined as "%n %P blabla %e" and first line of code contains definition such as %PARAMETERS = "-first /second -\"third\"", your compiler (or whatever) will be started with following parameters:
mycompiler.exe c:\test\test.ext -first /second -"third" ext