Commands Reference for the AWS Cloud9 Integrated Development Environment (IDE)
Following is a list of default commands in the AWS Cloud9 IDE.
To run a command in the AWS Cloud9 IDE:
-
Choose the Go button (magnifying glass) to display the Go window. If the Go button is not visible, choose Window, Go on the menu bar.
-
In the Go to Anything box, type a dot (
.
) followed by the name of the command. -
Do one of the following in the list of matching commands:
-
Choose the command to run.
-
Use your up and down arrow keys to choose a command, and then press
Enter
to run the chosen command.
-
Command | Description |
---|---|
|
Add a cursor one line above the active cursor, or if a cursor is already added, add another cursor above that one |
|
Add a second cursor one line above the active cursor, or if a second cursor is already added, move the second cursor up one line |
|
Add a cursor one line below the active cursor, or if a cursor is already added, add another cursor below that one |
|
Add a second cursor one line below the active cursor, or if a second cursor is already added, move the second cursor down one line |
|
Add the selected file or folder to the Favorites list in the Environment window |
|
Add the selection as a watch expression |
|
Move all cursors to the same space as the active cursor on each of their lines, if they are misaligned |
|
Show the AWS Resources window |
|
Backspace one space |
|
Indent the selection one tab |
|
Outdent the selection one tab |
|
Build the current file |
|
Cancel various built-in web browser key bindings that can be annoying if triggered accidentally |
|
Control whether focus can be switched from the editor to somewhere else in the IDE |
|
Center the selection |
|
Remove the cut selection from the clipboard |
|
Clear the buffer in the Terminal pane |
|
Create a copy of the current tab in a new tab |
|
Close all open tabs in the current pane, except the current tab |
|
Close all open tabs in all panes |
|
Close all tabs to the left of the current tab |
|
Close all tabs to the right of the current tab |
|
Close the current pane |
|
Close the current tab |
|
Show the code completion context menu |
|
Code complete, and then overwrite |
|
Convert between tabs and spaces in the editor |
|
Copy the selection to the clipboard |
|
Copy the full path of the current file to the clipboard |
|
Copy the contents of the line, and paste the copied contents one line down |
|
Copy the contents of the line, and paste the copied contents one line up |
|
Cut the selection to the clipboard |
|
Cut the selection to the clipboard, or delete to the right if the selection is empty |
|
Delete one space |
|
Detect the indentation type (spaces or tabs) and length, based on the document's contents |
|
Copy the contents of the selection, and paste the copied contents immediately after the selection |
|
Decrease the selected number by 0.1, if it is a number |
|
Decrease the selected number by 1, if is a number |
|
Decrease the selected number by 10, if is a number |
|
Evaluate a simple math expression (such as |
|
Expand CSS-like abbreviations into HTML, XML, or CSS code, depending on the current file's syntax |
|
Traverse expanded CSS-like abbreviations, by tab stop |
|
Increase the selected number by 0.1, if it is a number |
|
Increase the selected number by 1, if it is a number |
|
Increase the selected number by 10, if it is a number |
|
Shrink the selection to the next inner set of matching tags |
|
Expand the selection to include the next outer set of matching tags |
|
Go between the opening and closing tag, if the selection is a tag |
|
Go to the next tag, empty attribute, or newline with indentation |
|
Go to the previous tag, empty attribute, or newline with indentation |
|
Copy the selected CSS property into all matching variations, if the selection is a CSS property |
|
Delete the selected tag, if the selection is a tag |
|
Go to the next editable code part |
|
Go to the previous editable code part |
|
If the selection is an empty tag, replace it with an opening and closing tag pair; if the tag has an opening and closing tag pair, replace it with an empty tag |
|
Add comment characters to the current line, or remove them if they are there |
|
Expand an abbreviation, and then place the selection within the last element of the generated snippet |
|
Expand code, where applicable |
|
Include the current line's contents in the selection |
|
Include up to the next matching symbol in the selection |
|
Show the find and replace bar for the current document |
|
Select all find matches in the current document |
|
Go to the next match in the current document for the find query you entered last |
|
Go to the previous match in the current document for the find query you entered last |
|
Display all known references to the symbol at the insertion point in the active file in the editor |
|
Open the Environment window, and then make the list of files active |
|
Fold the selected code; if a folded unit is selected, unfold it |
|
Fold all possibly foldable elements |
|
Fold all possibly foldable elements, except for the selection scope |
|
Show the File Revision History pane, or hide if shown |
|
Reformat the selected JavaScript code |
|
Open the Project Settings section of the Preferences tab to programming language settings |
|
Display a four-pane layout |
|
Display the AWS Discussion Forum for AWS Cloud9 |
|
Run the
|
|
Go down one line |
|
Go up one line |
|
Show the Go window in Go to Anything mode |
|
Show the Go window in Go to Command mode |
|
Go to the end of the file |
|
Show the Go window in Go to File mode. |
|
Go left one space |
|
Show the go to line box |
|
Go to the end of the current line |
|
Go to the start of the current line |
|
Go to the next error |
|
Go down one page |
|
Go up one page |
|
Go one pane down |
|
Go one pane left |
|
Go one pane right |
|
Go one pane up |
|
Go to the previous error |
|
Go right one space |
|
Go to the start of the file |
|
Show the Go window in Go to Symbol mode. |
|
Go one tab left |
|
Go one tab right |
|
Go one word to the left |
|
Go one word to the right |
|
Hide the go to line box, if it is showing |
|
Hide the find and replace bar, if it is showing |
|
Split the current pane into two columns, and then move the current tab to the new column |
|
Indent the selection one tab |
|
Insert a string of text while typing or pasting |
|
Insert text while typing or pasting |
|
Select everything other than the selection |
|
Remove all line breaks from the current selection |
|
Go to the definition of the variable or function at the cursor |
|
Go to the matching symbol in the current scope |
|
Show the Convert to SAM dialog box |
|
Show the Create serverless application dialog box |
|
If a remote AWS Lambda function is selected in the Lambda section of the AWS Resources window, attempts to import the function into the IDE as a local function |
|
Show the Link application to CloudFormation stack dialog box |
|
Refreshes the Lambda section of the AWS Resources window if shown |
|
If a local Lambda function is selected in the Lambda section of the AWS Resources window, attempts to upload the function to Lambda as a remote function |
|
Increase the font size |
|
Expand the console to cover the entire IDE |
|
Decrease the number to the left of the cursor by 1, if it is a number |
|
Increase the number to the left of the cursor by 1, if it is a number |
|
Move selection down one line |
|
Move selection up one line |
|
Move the current tab down one pane, or if the tab is already at the very bottom, create a split tab there |
|
Move the current tab left, or if the tab is already at the far left, create a split tab there |
|
Move the current tab right, or if the tab is already at the far right, create a split tab there |
|
Move the current tab up one pane, or if the tab is already at very top, create a split tab there |
|
Show the Create new environment wizard in the AWS Cloud9 console |
|
Create a new file |
|
Create a new folder relative to the selection in the Environment window |
|
Go to the next pane |
|
Go to the next tab |
|
Combine all split panes into a single pane |
|
Show the Code Coverage tab |
|
Show the Preferences tab |
|
Open a Terminal tab, and then switch to the parent folder of the selected file in the list of files |
|
Open a new Terminal tab |
|
Outdent the selection one tab |
|
Show the Outline window |
|
Turn on overwrite mode, or if on, turn off |
|
Go down one page |
|
Go up one page |
|
Enable keys to be handled by the web browser |
|
Paste the clipboard's current contents at the cursor |
|
Show the preview pane |
|
Go to the previous pane |
|
Go to the previous tab |
|
Show suggestions for fixing errors |
|
Redo the last action |
|
Go back to the last tab |
|
Refresh the preview pane |
|
Delete the item from the Favorites list, if the selection is a favorite |
|
Delete the contents of the current line |
|
Delete from the cursor to the end of the current line |
|
Delete from the beginning of the current line up to the cursor |
|
Delete the word to the left of the cursor |
|
Delete the word to the right of the cursor |
|
Start a rename refactor for the selection |
|
Open the last tab again |
|
Show the find and replace bar for the current document, with focus on the replace with expression |
|
Replace all matches for Find with Replace With in the find and replace bar for the current document |
|
Replace the next match for Find with Replace With in the find and replace bar for the current document |
|
Replace the previous match for Find with Replace With in the find and replace bar for the current document |
|
Replay previously recorded keystrokes |
|
Rerun your initialization script |
|
Restart the environment |
|
Resume the current paused process |
|
Show the current tab in the file tree |
|
Reset the current file to its last saved version |
|
Reset each open file to its saved version |
|
Run or debug the current application |
|
Run or debug the last run file |
|
Save the current file to disk |
|
Save all unsaved files to disk |
|
Save the current file to disk with a different file name |
|
Save the current pane layout in the Window, Saved Layouts menu |
|
Save the current pane layout in the Window, Saved Layouts menu, and then close all open tabs |
|
Scroll down in the current document |
|
Scroll up in the current document |
|
Show the find and replace bar for multiple files |
|
Select all selectable content |
|
Include the next line down in the selection |
|
Include the next space to the left in the selection |
|
Include the rest of the current line in the selection, starting from the cursor |
|
Include the beginning of the current line in the selection, up to the cursor |
|
Include more matching selections that are after the selection |
|
Include more matching selections that are before the selection |
|
Include the next matching selection that is after the selection |
|
Include the next matching selection that is before the selection |
|
Select or find the next matching selection |
|
Select or find the previous matching selection |
|
Include from the cursor down to the end of the current page in the selection |
|
Include from the cursor up to the beginning of the current page in the selection |
|
Include the next space to the right of the cursor in the selection |
|
Include from the cursor down to the end of the current file in the selection |
|
Include from the cursor to the end of the current line in the selection |
|
Include from the beginning of the current line to the cursor in the selection |
|
Include from the cursor to the next matching symbol in the current scope |
|
Include from the cursor up to the beginning of the current file in the selection |
|
Include the next line up in the selection |
|
Select all instances of the variable, if the selection is a variable |
|
Include the next word to the left of the cursor in the selection |
|
Include the next word to the right of the cursor in the selection |
|
Set the indentation type (spaces or tabs) and length |
|
Show the Share this environment dialog box |
|
Show the Immediate tab |
|
Show the AWS Cloud9 Installer dialog box |
|
Show the Output tab |
|
Show the Process List dialog box |
|
Show the Preferences tab |
|
Clear all previous selections |
|
Decrease the font size |
|
If multiple lines are selected, rearrange them into a sorted order |
|
Add a cursor at the end of the current line |
|
Move the contents of the cursor to the end of the line, to its own line |
|
Step into the function that is next on the stack |
|
Step out of the current function scope |
|
Step over the current expression on the stack |
|
Stop running or debugging the current application |
|
Stop building the current file |
|
Remove whitespace from the end of each line |
|
Suspend running or debugging the current application |
|
Switch between the editor and the Terminal tab |
|
Set the syntax type |
|
Go to the tenth tab |
|
Go to the first tab |
|
Go to the second tab |
|
Go to the third tab |
|
Go to the fourth tab |
|
Go to the fifth tab |
|
Go to the sixth tab |
|
Go to the seventh tab |
|
Go to the eighth tab |
|
Go to the ninth tab |
|
Detach clients attached to the Terminal pane |
|
Show help for the Terminal pane |
|
Restart the Terminal pane |
|
Create a three-pane layout with two panes on the left and one pane on the right |
|
Create a three-pane layout with two panes on the right and one pane on the left |
|
Show Terminal pane status, or hide if shown |
|
Surround the selection with block comment characters, or remove them if they are there |
|
Show tabs, or hide if shown |
|
Add line comment characters at the start of each selected line, or remove them if they are there |
|
Show the Console window if hidden, or hide if shown |
|
Show the Debugger window, or hide if shown |
|
Fold code, or remove code folding if it is there |
|
Show the menu bar, or hide if shown |
|
Show the Open Files list in the Environment window, or hide if shown |
|
Fold parent code, or remove folding if it is there |
|
Start keystroke recording, or stop if it is already recording |
|
Show the Environment window if hidden, or hide if shown |
|
Wrap words, or stop wrapping words if they are already wrapping |
|
Change the selection to all lowercase |
|
Change the selection to all uppercase |
|
Transpose the selection |
|
Trim whitespace at the ends of lines |
|
Create a two-pane layout, with panes side by side |
|
Create a two-pane layout, with panes top and bottom |
|
Undo the last action |
|
Unfold selected code |
|
Unfold code folding for the entire file |
|
Show the Upload Files dialog box |
|
Split the current pane into two panes, top and bottom, and move the current tab to the top pane |