How to prohibit automatically changing code formats when pasting code
Answered
How do I keep the original format when I paste the code?
[Compare with clipboard] is a very useful function when your code conflicts with the code in the GIT repository.
But when I use the function, I paste my code into the left area, and then the code style reformated by IDEA, and I have no idea to keep the original code format. Especially the XML file.
but when you paste code into the right area. It will not change.
And I don't want to change the code where I haven't changed. because I need to commit my code to the GIT repository.
How can I keep the original format when I paste code?
Please sign in to leave a comment.
Set Reformat on Paste to: None: