IntelliJ IDEA 13.1 Web Help

Tools | Play with Playframework

Note

The Tools | Play with Playframework command and the Play Framework tab or view in the Run tool window are available only under the following conditions:

  • The Playframework Support plugin is enabled. See Enabling and Disabling Plugins.
  • A Play application is currently open in IntelliJ IDEA. (In technical terms, the directory <play_dir>\framework\lib and the file <play_dir>\framework\play-<version>.jar are included in the dependencies of the module that represents your Play application.)

Use the Play Framework tab or view for running commands of the play command-line utility (the Play console) and performing other, related tasks.

The console workspace is divided into two parts. In the upper part, the console output is shown. The lower part is for the input; this is where you type the play commands (omitting the leading play). The parts are separated with a horizontal line.

Toolbar

Icon Shortcut Description
stop Ctrl+F2Ctrl+F2Ctrl+2Ctrl+F2Ctrl+F2Ctrl+F2Shift+F5Shift+F5 or Ctrl+Shift+DeleteCtrl+F2Command F2Command F2Command F2 Use this icon or shortcut to stop the Play application which is currently running (the one previously started by means of the play run command).
close Ctrl+F4Ctrl+F4Ctrl+4Ctrl+F4Ctrl+F4, Ctrl+X, K or Ctrl+X, 0Ctrl+F4Ctrl+F4Ctrl+F4 or Ctrl+WCtrl+F4Command WCommand F4Command W Use this icon or shortcut to close the Play Framework tab or view.

If the Play application is currently running, you can also select to stop it in the dialog that opens.

run EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter Use this icon or shortcut to run the current play command.
help F1F1F1F1F1F1F1F1F1ContextHelpF1ContextHelp Use this icon or shortcut to open the corresponding help topic.
arrowUp Ctrl+Alt+UpShift+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt+UpCtrl+Alt+UpAlt Command UpAlt Command UpAlt Command Up
arrowDown Ctrl+Alt+DownShift+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownAlt Command DownAlt Command DownAlt Command Down
icon_softWrap Use this icon to turn the soft wrapping mode in the console on or off.
scrollToEnd Use this icon to scroll down to the end of the console output.
print Use this icon to send the console output to the default printer.
clear_all Use this icon to clear all the contents of the output area.

Context menu for the output area

Command Shortcut Description
Copy Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Use this command or shortcut to copy the selected text fragment to the clipboard.

Note that this command is available only if something is currently selected in the output area.

If nothing is selected, you can still use Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert to copy all the contents of the output area to the clipboard.

Copy Reference Ctrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CShift Alt Command CShift Alt Command CShift Alt Command C Use this command or shortcut to place the text \Play Framework:1 onto the clipboard.
Compare with Clipboard Use this command to compare selected text or all the contents of the output area (if nothing is currently selected) with the contents of the clipboard.
Search with Google Use this command to search the Internet for the selected text fragment using Google.

Note that this command is available only if something is currently selected in the output area.

Fold Lines Like This Use this command to create a new pattern for code folding based on the current line. For more information, see Configuring Autofolding Behavior.
Clear All Use this command to clear all the contents of the output area.

Context menu for the input area

Command Shortcut Description
Cut Ctrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteShift+Delete or Alt+XCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCommand X or Shift DeleteCommand X or Shift DeleteCommand X or Shift Delete Use this command or shortcut to remove the selected text fragment from the input area and to place it onto the clipboard.

Note that this command is available only if something is currently selected in the input area.

If nothing is selected, you can still use Ctrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteShift+Delete or Alt+XCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCommand X or Shift DeleteCommand X or Shift DeleteCommand X or Shift Delete to remove the whole command (without the leading play) and to place it onto the clipboard.

Copy Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Use this command or shortcut to copy the text fragment selected in the input area to the clipboard.

Note that this command is available only if something is currently selected in the input area.

If nothing is selected, you can still use Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert to copy the whole command (without the leading play) to the clipboard.

Copy Reference Ctrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CShift Alt Command CShift Alt Command CShift Alt Command C Use this command or shortcut to place the text \Play Framework:1 onto the clipboard.
Paste Ctrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertAlt+P, Shift+Insert or Ctrl+YCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCommand V or Shift InsertCommand V or Shift InsertCommand V or Shift Insert Use this command or shortcut to paste the last of the clipboard entries into the input area.
Paste from History Ctrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertAlt+YCtrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertShift Command V or Shift Command InsertShift Command V or Shift Command InsertShift Command V or Shift Command Insert Use this command or shortcut to open the Choose Content to Paste dialog. This dialog lets you select the clipboard entry to be pasted into the input area.
Paste Simple Ctrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VShift Alt Command VShift Alt Command VShift Alt Command V Use this command or shortcut to paste the last of the clipboard entries into the input area as plain text.
Compare with Clipboard Use this command to compare selected text with the contents of the clipboard. If nothing is currently selected, the whole play command (without the leading play) is used for comparison.
Search with Google Use this command to search the Internet for the selected text fragment using Google.

Note that this command is available only if something is currently selected in the input area.

Fold Lines Like This Use this command to create a new pattern for code folding based on the current line. For more information, see Configuring Autofolding Behavior.

See Also

Procedures:

Reference:

Web Resources: