PyCharm 2016.3 console pasting newlines

Answered

I just updated to PyCharm 2016.3 and I'm having an issue that's driving me crazy (and didn't exist in 2016.2).

When I'm in the Python console, and I paste a piece of text, it's automatically adding a newline to the end:

So, for example, when I pasted '4201049297840004' into the python console, it put a new line in. Is this happening to anyone else? Is there a way to turn it off? I've tried using Command-Alt-Shift-V, and it did the same thing.

Thanks!

6 comments
Comment actions Permalink

Unfortunately, I'm not able to reproduce the problem locally. Could you please record a small screencast that shows, for example, that the issue occurs in python console but not in Editor? Thank you in advance.

0
Comment actions Permalink

Hi Anna,

Right now, if I select text in the console and paste it into the editor, it adds a new line. Right now, going from the Editor to the console isn't exhibiting the issue, but it was yesterday. I've recorded a short screen cast. Is there a way I can share this with you privately? Thanks for your help!

0
Comment actions Permalink

> Is there a way I can share this with you privately?

You could send it to pycharm-support@jetbrains.com, or upload it to http://uploads.jetbrains.com/ and tell me the file name. Thank you!

0
Comment actions Permalink

Hi Anna,

 

I uploaded it to uploads.jetbrains.com 

pycharm2016-3-cutpaste-issue.mov
0
Comment actions Permalink

I have the same problem, and I've found a workaround by changing the keymap of "Copy as Plain Text" to Ctrl+C. This may have the side effect of getting rid of other features of the default copy function, but it works for me.

0
Comment actions Permalink

Another solution is to change the keymap of "Copy as Plain Text" to 'Mouse shortcut' -> 'button1 double-click'. So each time you double-click a text, the corresponding selection gets automatically copied to clipboard as a plain text.

0

Please sign in to leave a comment.