With IntelliJ IDEA it's the other way round: the file isn't compiled because you save it, but it's saved because you compile it. You don't have to care about saving files - IDEA does that for you whenever it's appropriate. So instead of invoking 'save' to have your files compiled, you simply invoke 'compile' and IDEA saves your files prior to compiling. Or even better just invoke 'run' or 'debug', IDEA then automatically first saves and then compiles your changed files.
With IntelliJ IDEA it's the other way round: the file isn't compiled
because you save it, but it's saved because you compile it. You don't
have to care about saving files - IDEA does that for you whenever it's
appropriate. So instead of invoking 'save' to have your files compiled,
you simply invoke 'compile' and IDEA saves your files prior to
compiling. Or even better just invoke 'run' or 'debug', IDEA then
automatically first saves and then compiles your changed files.
Sure, shortcut is ctrl-shift-f9. You can specify whether dependent files are compiled in settings -> project setting -> compiler.
If you like, you can remap the shortcut to ctrl-s.
Yes, 'make' action does this.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"