|
1.
|
|
|
<p>Defines the command that should be executed when this script is run. Basic shell features of your platform should be available.</p>
<p>There are a few placeholders you can use in the command:</p>
<dl>
<dt><code>%u</code></dt>
<dd>Gets replaced by the URL of the active document.</dd>
<dt><code>%f</code></dt>
<dd>Gets replaced by the local filepath to the active document.</dd>
<dt><code>%n</code></dt>
<dd>Gets replaced by the name of the active document, including its extension.</dd>
<dt><code>%b</code></dt>
<dd>Gets replaced by the name of the active document without its extension.</dd>
<dt><code>%d</code></dt>
<dd>Gets replaced by the path to the directory of the active document.</dd>
<dt><code>%p</code></dt>
<dd>Gets replaced by the URL to the project of the active document.</dd>
<dt><code>%s</code></dt>
<dd>Gets replaced with the shell escaped contents of the selection in the active document.</dd>
<dt><code>%i</code></dt>
<dd>Gets replaced with the PID of the currently running KDevelop process.</dd>
</dl>
<p><b>NOTE:</b> It is your responsibility to prevent running hazardous commands that could lead to data loss.</p>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
<p>Defines the command that should be executed when this script is run. Basic shell features of your platform should be available.</p>
<p>There are a few placeholders you can use in the command:</p>
<dl>
<dt><code>%u</code></dt>
<dd>Gets replaced by the URL of the active document.</dd>
<dt><code>%f</code></dt>
<dd>Gets replaced by the local filepath to the active document.</dd>
<dt><code>%n</code></dt>
<dd>Gets replaced by the name of the active document, including its extension.</dd>
<dt><code>%b</code></dt>
<dd>Gets replaced by the name of the active document without its extension.</dd>
<dt><code>%d</code></dt>
<dd>Gets replaced by the path to the directory of the active document.</dd>
<dt><code>%p</code></dt>
<dd>Gets replaced by the URL to the project of the active document.</dd>
<dt><code>%s</code></dt>
<dd>Gets replaced with the shell-escaped contents of the selection in the active document.</dd>
<dt><code>%i</code></dt>
<dd>Gets replaced with the PID of the currently running KDevelop process.</dd>
</dl>
<p><b>NOTE:</b> It is your responsibility to prevent running hazardous commands that could lead to data loss.</p>
|
|
Translated by
Andrew Coles
|
|
Reviewed by
Sohrab
|
|
|
|
Located in
editexternalscript.cpp:42
|
|
2.
|
|
|
<p>Defines what the external script should get as input (via <code>STDIN</code>).</p>
|
|
|
|
<p>Defines what the external script should get as input (via <code>STDIN</code>).</p>
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:68
|
|
3.
|
|
|
<p>Defines what should be done with the output (i.e. <code>STDOUT</code>) of the script.</p>
|
|
|
|
<p>Defines what should be done with the output (i.e. <code>STDOUT</code>) of the script.</p>
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:74
|
|
4.
|
|
|
<p>Defines what should be done with the errors (i.e. <code>STDERR</code>) of the script.</p><p>Note: if the action is the same as that chosen for the output, the channels will be merged and handled together.</p>
|
|
|
|
<p>Defines what should be done with the errors (i.e. <code>STDERR</code>) of the script.</p><p>Note: if the action is the same as that chosen for the output, the channels will be merged and handled together.</p>
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:80
|
|
5.
|
|
|
<p>Defines the name of the script. Just for displaying purposes.</p>
|
|
|
|
<p>Defines the name of the script. Just for displaying purposes.</p>
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:88
|
|
6.
|
|
|
<p>Defines the shortcut(s) you can use to execute this external script.</p>
|
|
|
|
<p>Defines the shortcut(s) you can use to execute this external script.</p>
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:94
|
|
7.
|
|
|
<p>Defines whether documents should be saved before the script gets executed.</p>
|
|
|
|
<p>Defines whether documents should be saved before the script gets executed.</p>
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:100
|
|
8.
|
|
|
<p>Defines whether the output of the script should be shown in a toolview.</p>
|
|
|
|
<p>Defines whether the output of the script should be shown in a toolview.</p>
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:106
|
|
9.
|
|
|
Create new external script
|
|
|
|
Create new external script
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:113
|
|
10.
|
|
|
Edit external script '%1'
|
|
|
|
Edit external script '%1'
|
|
Translated by
Andrew Coles
|
|
|
|
Located in
editexternalscript.cpp:115
|