Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you copy and Paste in Pycharm?

Tags:

Every time I try to copy and paste a web url into PyCharm, I even tried Paste Simple, I see nothing. Is there any force that could potentially block out people who try to paste information in? I really have no clue what's going on.

like image 701
Anonymous827364 Avatar asked Jan 26 '15 03:01

Anonymous827364


People also ask

How do I copy a line of code in PyCharm?

Duplicate the current line or selectionPress Ctrl+D or choose Edit | Duplicate Line or Selection from the main menu . Alternatively, you can press Ctrl+Shift+A , start typing the command name in the popup, and then choose it there.

How do you copy and paste in Python?

To copy text, just select it and hit Ctrl-C (Command-C on a Mac). If the highlight marking the selection disappears, that's normal and it means it's worked. To paste, use Ctrl-V (Command-V on a Mac).

How do I copy and paste?

To copy and paste, you can use keyboard shortcuts: PC: Ctrl + c for Copy, Ctrl + x for Cut, and Ctrl + v for Paste. Mac: ⌘ + c for Copy, ⌘ + x for Cut, and ⌘ + v for Paste.

How do I move multiple lines in PyCharm?

Press Ctrl+Home to set the caret at the beginning of the first line, enable the column selection mode (press Alt+Shift+Insert ), and then press Ctrl+Shift+End .


2 Answers

Most likely you installed the IdeaVim support when you first installed PyCharm. To un-install the plugin, go to:

File --> Settings --> Plugins

and uncheck the IdeaVim entry.

You will need to restart PyCharm. After I did this, I could easily copy and paste via CTRL + C/X/V from anywhere into PyCharm.

like image 181
Eric Avatar answered Nov 16 '22 17:11

Eric


PyCharm version 4.04 does not allow me to paste text from a source (like a text editor, url, document) into a file open in PyCharm. I can cut and paste between two files open in PyCharm. Reverting back to PyCharm version 4.01 returned the expected paste operation for me.

Running PyCharm on windows 8

like image 39
feralbeagle Avatar answered Nov 16 '22 15:11

feralbeagle