When I run a test in IntelliJ, it doesn't automatically compile the file first. Is this normal behavior? I know I can use eclipse mode to auto compile when I save, but it seems logical to auto compile before running the file. Is this possible in IntelliJ?
From the main menu, select Run | Show Running List. In the top-right corner of the editor, IntelliJ IDEA shows a list with all active applications.
IntelliJ IDEA uses run/debug configurations to run, debug, and test your code. Each configuration is a named set of startup properties that define what to execute and what parameters and environment should be used.
You can run anything with ⌃⌃ (macOS), Ctrl+Ctrl (Windows).
There is a "Before Launch" option group under configuration screen, that has "Make" as one of the options. If this option is checked, the whole module/project will be rebuilt prior launching.
If you want this option to persist for all future configurations automatically created by IntelliJ, mark it under relevant configuration in "Defaults" group.
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