0

I can't copy directly from IntelliJ Idea to Stack Overflow. It is really annoying to paste from Intellij to .txt to Stack.

How can I paste in civilized way?

Edit: My soft versions:

  • Intellij Idea 12 ultimate
  • Linux ubuntu 10
Laurel
  • 5,965
  • 14
  • 31
  • 57
Marcin Szymczak
  • 11,199
  • 5
  • 55
  • 63

5 Answers5

2

The problem was that I was using openJDK, switching to OracleJDK solves the problem.

Marcin Szymczak
  • 11,199
  • 5
  • 55
  • 63
0

Why not? Because it doesn't have 4 spaces in front of it? What I do is paste the code in to this text area, highlight it, and then press the {} button to indent it for me.

So this

becomes

So this
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
0

I had the same problem when I have not installed svn command line client. And it always popup a dialog box telling me to fix the svn command line client.

After installed svn command line client, I can copy and paste codes normally.

shifu.zheng
  • 691
  • 7
  • 16
0

I tried many options, but switching to JDK 7 from 6 worked for me.

0

In my case, with IntelliJ 16.2 .. 17.2:

  • Copy in IntelliJ
  • Paste elsewhere
  • FAIL

However:

  • Copy in IntelliJ
  • Paste in IntelliJ
  • Paste elsewhere
  • WIN!
Mark Jeronimus
  • 9,278
  • 3
  • 37
  • 50