Note
For security reasons, it is not currently possible to SSH / SFTP into Cloud IDE.
The container provided by Cloud IDE includes a command terminal that has access
to the Bash shell. You can run commands as the ide
user, which owns the
project files.
After signing in to Cloud IDE, use any of the following methods to display a command terminal, based on your installed operating system:
Press Control + `
(the backquote character).
In the admin menu, click Terminal, and then click New Terminal.
Press Command+Shift+P to open the command palette, and then click Terminal: Open New Terminal.
Press Ctrl + `
(the backquote character).
In the admin menu, click Terminal, and then click New Terminal.
Press Ctrl+Shift+P to open the command palette, and then click Terminal: Open New Terminal.
You can customize the integrated terminal font and line height value by modifying the following settings:
terminal.integrated.fontFamily
terminal.integrated.fontSize
terminal.integrated.fontWeight
terminal.integrated.fontWeightBold
terminal.integrated.letterSpacing
terminal.integrated.lineHeight
To alter any of these settings from their default values:
Sign in to your Cloud IDE with the acli ide:open
command, as described
in Getting started.
In the admin menu, click File > Settings > Open Preferences.
Scroll to the Terminal section, and click it to display the settings.
Click the setting you want to alter. The Cloud IDE will display a window containing values you can select.
Cloud IDE contains the following keyboard shortcuts for your use, depending on your installed operating system:
Key |
Description |
---|---|
Command+C |
Copy to clipboard. |
Command+V |
Paste from clipboard. |
Shift+fn+Up |
Scroll the display terminal area up. |
Shift+fn+Down |
Scroll the display terminal area down. |
Shift+fn+Left |
Scroll to the top of the display terminal area. |
Shift+fn+Right |
Scroll to bottom of the display terminal area. |
Command+K |
Clear the terminal display area. |
Key |
Description |
---|---|
Ctrl+Shift+C |
Copy to clipboard. |
Ctrl+Shift+V |
Paste from clipboard. |
Shift+Page up |
Scroll the display terminal area up. |
Shift+Page down |
Scroll the display terminal area down. |
Shift+Home |
Scroll to the top of the display terminal area. |
Shift+End |
Scroll to bottom of the display terminal area. |
Ctrl+K |
Clear the terminal display area. |
Key |
Description |
---|---|
Ctrl+Shift+C |
Copy to clipboard. |
Ctrl+Shift+V |
Paste from clipboard. |
Shift+Page up |
Scroll the display terminal area up. |
Shift+Page down |
Scroll the display terminal area down. |
Shift+Home |
Scroll to the top of the display terminal area. |
Shift+End |
Scroll to bottom of the display terminal area. |
Ctrl+K |
Clear the terminal display area. |
Using the Run Selected Text feature, you can run a command that’s part of one of your codebase’s files (without running all the other commands contained in the file). To do this, complete the following steps:
Sign in to your Cloud IDE with the acli ide:open
command, as described
in Getting started.
In the left menu, click the Explorer icon to display the file navigation pane.
Navigate to the file containing the command you want to run, and then click the file name to open it.
In the file, select the command you want to run.
In the admin menu, click Terminal > Run Selected Text.
The Cloud IDE will attempt to run the text you selected as a command.
If no text is selected in the active editor, the line currently containing the cursor is run.