IntelliJ IDEA 13.1.0 Web Help

Tools | Play with Playframework

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 or 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 , or or 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 Use this icon or shortcut to run the current play command.
help Use this icon or shortcut to open the corresponding help topic.
arrowUp
arrowDown
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 or or or or , or or or or or or or or 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 or or or or , or or or or or or or or to copy all the contents of the output area to the clipboard.

Copy Reference 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 or or or or or or or or or or or or 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 or or or or or or or or or or or or to remove the whole command (without the leading play) and to place it onto the clipboard.

Copy or or or or , or or or or or or or or 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 or or or or , or or or or or or or or to copy the whole command (without the leading play) to the clipboard.

Copy Reference Use this command or shortcut to place the text \Play Framework:1 onto the clipboard.
Paste or or or or , or or or or or or or or Use this command or shortcut to paste the last of the clipboard entries into the input area.
Paste from History or or or or or or or or or or 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 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: