- On the main menu, choose .
- Press 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+InsertMeta C or Meta InsertMeta C or Meta InsertMeta C or Meta 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+CCtrl+Shift+CCtrl+Shift+CCtrl+Shift+CCtrl+Shift+CCtrl+Shift+CCtrl+Shift+CMeta Shift CMeta Shift CMeta 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+CCtrl+Alt+Shift+CCtrl+Alt+Shift+CCtrl+Alt+Shift+CCtrl+Alt+Shift+CCtrl+Alt+Shift+CCtrl+Alt+Shift+CMeta Alt Shift CMeta Alt Shift CMeta Alt Shift C.
PyCharm creates a string in the format <fully qualified path>:line
/Solver\Solver.py:14
- Select the desired fragment in the editor.
-
Do one of the following:
- On the main menu, choose .
- Press 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+DeleteMeta X or Shift DeleteMeta X or Shift DeleteMeta X or 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 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+InsertMeta V or Shift InsertMeta V or Shift InsertMeta V or Shift Insert.
- Click the Paste button
on the toolbar.
Note
If you perform paste in a Python 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+VCtrl+Alt+Shift+VCtrl+Alt+Shift+VCtrl+Alt+Shift+VCtrl+Alt+Shift+VCtrl+Alt+Shift+VCtrl+Alt+Shift+VMeta Alt Shift VMeta Alt Shift VMeta Alt Shift V.
- On the main menu, choose or press 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+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertMeta Shift V or Meta Shift InsertMeta Shift V or Meta Shift InsertMeta Shift V or Meta Shift Insert.
- In the Choose Content to Paste dialog box select the desired entry from the list of recent Clipboard entries, and click OK.

