How to prevent RubyMine editor from changing files

 RubyMine seems to want to reformat the files that I open. Yes, RubyMine's formatting defaults are very sensible. But it's a distraction to try to figure out if a changed file has some functional changes which I put in myself or if it's a nonfunctional change that was put in by RubyMine.

Is there a way to disable this auto-reformatting? I looked through the settings for Code Style and I didn't find anything.

Thanks in advance for your help.

Robert Dodier


1 comment
Comment actions Permalink

Hello David, could you please try option `Settings | Editor | General | Smart keys -> Reformat on paste=None`. See screenshot.


Please sign in to leave a comment.