run one package in Intellij Follow
is it possible to intelliJ to build and run single packages in a Java project and (ignore) the other packages. When I remove the "Build" option from the Run/Debug configuration, then I need each time to rebuild each class in the package manually before running it. This "solution" isn't really effcient.
Please sign in to leave a comment.
You can enable it back, so all packages would be built automatically.
There is also "Build project automatically" option: https://i.imgur.com/YPMaMTM.png
but I want intelliJ just to run and compile the one package from the Project
What is the reason? IntelliJ IDEA is optimized, so IDE recompiles only changed classes even when building/compiling the whole project.
If the reason is the fact that there are errors in some packages and you want to ignore them, see https://stackoverflow.com/a/16784855/8203759