Why does IntelliJ keep reformatting files I don't even have open?

已回答

OK, this is driving me batty.  I've used IntelliJ for almost 2 decades and I've never seen this issue before, but, using 2022.2 Ultimate Edition (Build #IU-222.3345.118), IntelliJ keeps reformatting whitespace seemingly randomly in files I don't even have open in the editor.  All of a sudden, files just pop up in the default changelist with whitespace changes.  I roll them back and they may or may not pop up again a few minutes later.  It is infuriating, and no amount of googling seems to suggest that it is happening to anyone else.  What on earth could be causing this?

评论操作 固定链接

Disable Settings (Preferences on macOS) | Editor | Code Style | Enable EditorConfig support.

Disable any Save Actions that reformat files at Settings (Preferences on macOS) | Tools | Actions on Save.

If the issue persists, report a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the logs attached via Help | Collect Logs and Diagnostic Data.

0

请先登录再写评论。