Every time I try to run a test or compile code in IntelliJ, if another file has a compile error, it causes the messages window to auto popup and the editor automatically opens that file with the error. Is there a way to prevent this behavior?
Disable an inspection in the settingsIn the Settings/Preferences dialog ( Ctrl+Alt+S ), select Editor | Inspections. Locate the inspection you want to disable, and clear the checkbox next to it.
Go to File > Settings (or Ctrl + Alt + S ) > [IDE Settings] > Editor > Code Completion. The "Autopopup code completion" setting will determine if the popup opens automatically. Below it, the "Insert selected variant by typing dot, space, etc." is likely the setting you want to turn off. Save this answer.
All notifications and events that occur in IntelliJ IDEA are gathered in the Notifications tool window. You can open the tool window by clicking the corresponding tool window bar on the right side of the editor. Alternatively, from the main menu, select View | Tool Windows | Notifications.
You can try to disable the Automatically show first error in editor option:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With