Ctrl+Alt+S

The dialog box opens when you click the
,
, or
buttons
in the Remote SSH External Tools dialog box.
Use this dialog box to enable using a specific remote SSH external tool from PyCharm, specify the menus to access it from,
define where to display the tool's output, and configure the filters to distinguish it from other output.
Based on these filters, PyCharm displays paths to the tool's output files as links.
When you click such link, the corresponding file is opened in the editor.
| Item | Description |
|---|
| Name | In this text box, specify the name to identify the tool in the PyCharm menus. |
| Group | Use this drop-down list to specify the group the current tool belong to. Type a new name or select an existing group from the list. |
| Description | In this text box, provide an optional description of the tool. |
| Options | In this section, specify the following options:
| |
|---|
|
Show console when a message is printed to standard output stream | Select this check box to activate the output console and bring it forward if an associated process writes to Standard.out. | | Show console when a message is printed to standard error stream | Select this check box to activate the output console and bring it forward if an associated process writes to Standard.err. |
|
| Output Filters | Click this button to open the Output Filters dialog box where you can
define the filters to distinguish the output of the external tool from other output.
Based on these filters, PyCharm displays output file paths in output messages as links.
When you click such link, the corresponding file is opened in the editor.
|
| Show In | In this area, specify the menus the tool should be available from. The available options are:
-
Main menu - select this check box to have the tool command added to the
menu.
-
Editor menu - select this check box to have the tool command added to the context menu of
the Editor.
-
Project views - select this check box to have the tool command added to the context menu
of the Project tool window.
-
Search results - select this check box to have the tool command added to the context menu
of the Search Results area in the Find tool window.
|
| Connection settings | In this section, appoint the destination_environment to access through the SSH terminal and specify where the connection settings should be taken from:
-
Default remote interpreter: select this option to have commands in the SSH terminal executed on the same host,
where the default remote interpreter runs.
-
Current Vagrant: select this option to have the commands in the SSH Terminal executed on the currently running Vagrant virtual machine.
For details, see Working with Reproducible Development Environments Using Vagrant.
-
Deployment server: select this option to have the commands in the SSH Terminal executed on the local or remote Web server accessible through
one of the server access configurations.
From the drop-down list, choose the server access configuration that specifies the destination environment and the settings to establish connection to it.
-
Select server on every run: if this option is selected,
you will have to choose the desired server access configuration from the pop-up window, every time you choose on the main menu.
-
If the desired server access configuration does not appear in the drop-down list, click the link
Configure Servers, and define one in the Deployment page.
For details, see Configuring Synchronization with a Web Server.
|
| Tool Settings | In this area, specify the following options:
|
If the specified external tool is a Python script, add -u to the Python options.
Thus you will be able to get prompt and user input before the script ends.
See Also
Procedures:
Reference: