mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-02-08 11:34:45 +01:00
Added $file to list of placeholders, plus reference to complete list under Console tool page.
Author:halw Date:2010-04-08T16:06:59.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@549 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -25,15 +25,16 @@ To add your first command, simply click on the "Add..." button and the following
|
||||
|
||||
In this dialog you can give a name to the command, this name will be displayed in the Tools menu. The index (0 thru 9) is the position among the external commands of the command in the Tools menu. The command line is the command you want to execute. In order to execute correctly, the application you will execute needs to be in your PATH environment variable or if it is not you must provide an absolute path to the external command. And you can specify the working directory for that command.
|
||||
|
||||
In addition to the external command name, you can pass as many options as you want plus the following placeholders that will be translated before calling the external command:
|
||||
In addition to the external command name, you can pass as many options as you want. You can also use placeholders that will be translated before calling the external command. Some of those placeholders are:
|
||||
* $class_name: this will be replaced by the name in lower case of the targeted class in editor
|
||||
* $file_name: this will be replaced by the path to the targeted class in editor
|
||||
* $file: this will be replaced by the simple file name without the path
|
||||
* $directory_name: this will be replaced by the directory location of the targeted class in editor
|
||||
* $group_name: this will be replaced by the group name of the targeted class in editor
|
||||
* $line: this will be replaced by the line number of the cursor of the targeted class in editor
|
||||
* $w_code: this will be replaced by the W_code directory of current system, if defined
|
||||
* $f_code: this will be replaced by the F_code directory of current system, if defined
|
||||
|
||||
You can see the complete [[Console tool#Placeholders|list]] in the Console tool documentation.
|
||||
|
||||
==Executing external commands==
|
||||
|
||||
|
||||
Reference in New Issue
Block a user