Auto-compile & IDE-level tool window settings
Hello everyone,
I've just started using the Intellij IDE for about a week now, and so far loving it very much (using it for Java development). I've got a couple of things that I'm still not sure how to get to work as I'm expecting in IDEA:
1) Is there a way to make Intellij continuously look for compilation errors and identify files that failed to compile in the Project tool window? for example:
If I have a file B that uses functionality in file A. If then I remove said functionality from file A (manually without refactoring), shouldn't the project file show that file B no longer compiles?
It only realizes that file B contains errors and marks it accordingly in my Project tool window if I open file B afterwards in the editor.
I have auto-compile turned on, but it doesn't seem to help with such scenarios. What am I doing wrong?
2) Is there a way to ingrain my tool window settings at the IDE level? I would like to keep how I set the tool window's size/docked/pinned/etc between projects, so if I create a new project I would like it to use the same settings. Is that possible for tool windows?
Thanks
请先登录再写评论。
Hello.
1. Works for me. I use Settings / Compiler / Make project automatically = Yes. Is that what you use?
2. Please try main menu / Window / Store Current Layout as Default.
Regards,
Alexander.
1. Hmm for some reason it started working now when I decided to do another quick test. Yes, that's the flag I use as well. Not sure why it was causing me trouble earlier.
2. Exactly what I was looking for. Thanks!