HI, when I load exercise in IntelliJ and ctrl+shift+f10 for run.solution, but I do not finish exercise here but on the codegym page it looks like solution has "stuck" "is hanging there" because when I load another exercise and hit ctrl+shift+f10 it is not showing result from current one, but the one that I did previously how can I close previous solution? tried maually, Xclick, right click etc, some obvious stuff
You must be signed in to leave a comment
26 December 2019, 17:46
On IntelliJ, delete the previous task you already did. Then try to run/verify the current task you want to do.
26 December 2019, 20:42
thanks but I am doing it, I click "X" to close, load new task and when try to verify old deleted task is coming out of nowhere, just appering
30 December 2019, 00:21
I experienced the same behaviour from time to time. Being a complete IntelliJ-beginner I can only guess that maybe the shortcut (ctrl+shift+f10) simply re-executes the last actively chosen run-configuration. What works for me is to right-click on the solution-class you actually want to run (either on the file-tree to the left or on the tab at the top) and chose "run solution.main()". Afterwards, ctrl+shift+f10 faithfully re-runs the current main method.