Run Without Build command
已回答
I noticed that there is Run Without Build keyboard shortcut for Android projects, but not for other projects. Is there no equivalent for non-Android projects? I know I can change the behavior for the Run command in Run Configuration, but I'm looking for two different run commands:
One that builds and runs (currently default behavior) and one that only runs.
请先登录再写评论。
What run configuration do you use?
You can modify default run configuration options and remove Build step:
I'm aware of that, but then I'd have to use two commands the next time I want to build and run i.e. Build Module (or Project) and then Run.
I think it would be convenient to have two separate commands, one command for Run (to issue your current Run Config) and another similar to Run Without Build in Android projects.
Thanks for the update. Run Configurations are made for running the applications. You can use Run.../Debug... actions (and corresponding shortcuts) to run current configuration using shortcut).
There is also a request for an ability to assign shortcuts to run/debug configurations: https://youtrack.jetbrains.com/issue/IDEA-69968/Add-option-to-assign-keyboard-shortcut-to-Run-Debug-configuratio