- On the main menu, choose .
- Press Ctrl+C; Ctrl+InsertCtrl+C; Ctrl+Insert.
- Click the Copy button
on the toolbar.
- Open the desired file in the editor, then choose on the main menu or press Ctrl+Shift+CCtrl+Shift+C.
- Select the desired file in the Project tool window and choose on the context menu of the selection.
- Open the desired file in the editor.
- Place the caret at a certain line of code.
- Do one of the following:
- On the main menu, choose
- On the context menu of the line at caret, choose
- Press Ctrl+Alt+Shift+CCtrl+Alt+Shift+C.
- Select the desired fragment in the editor.
-
Do one of the following:
- On the main menu, choose .
- Press Ctrl+X; Shift+DeleteCtrl+X; Shift+Delete.
- Click the Cut button
on the toolbar.
- Place the caret in the location where you want to paste content.
-
Do one of the following:
- On the main menu, choose .
- Press Ctrl+V; Shift+InsertCtrl+V; Shift+Insert.
- Click the Paste button
on the toolbar.
Note
If you perform paste in a Ruby file, the further behavior depends on the settings in the Auto Import page of the Editor options. If the Ask option has been selected, select the necessary imports from the list of missing imports. In all other cases, the last clipboard entry is pasted silently.
- On the main menu, choose .
- Press Ctrl+Alt+Shift+VCtrl+Alt+Shift+V.

