I there a way to insert text into a string unchanged?

Answered

I currently want to split a text into a Scala list and for this I try to insert " :: " into the string. However on Command-V i get \" :: \" — I there a way to switch that “smart insert” off? To insert the text unchanged!

“Paste as plain text” doesn't to the trick.

Putting a // in front of the line so IDEA thinks it's a comment does help — but that's not a satisfying solution when Command-V only works properly in comments.

0
1 comment

Hi Martin,

Can you please check if the problem reproduces in 2021.2 IDE version from https://www.jetbrains.com/idea/nextversion ?

If the problem remains please provide a complete fragment you're pasting and the IDE logs at https://youtrack.jetbrains.com/issue/SCL-19286 .

See https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files .

Try disabling all third-party plugins to see if it helps.

0

Please sign in to leave a comment.