I recently tried switching from Eclipse to IntelliJ as a debugger for my university course, and I really like automatic completion, Chronon debugging, and other nice features. But there is one thing that drowns me out with living hell: I just want to run the current file!
In Eclipse, the Run button was smart enough to just run the current file if it contains the main method and otherwise use the file with the last run. But in IntelliJ, just running a file is much more complicated. You need to create the "Run configuration" of the desired file, and then select "Run configuration", and not just open the desired file. This is a big problem for me, especially since I have many different classes with basic methods in most homework and projects.
I found that on Macs, Ctrl + FN + Shift + F10 would be “Run context configuration”, which is almost what I'm looking for. But for some reason, this key binding does not have an equivalent button on the toolbar that switches to the context configuration and launches it, which would solve all my problems! Can anyone help me out?
source share