I usually go on to do other things while the project is compiling. I would like to know if there's a way to get a sound notification when the run is finished.
I tried looking into the Setting -> Appearance & Behaviour -> Notifications but nothing seems to work.
This was reported to JetBrains as IDEA-270145 in 2021, but it seems it's not yet implemented. Maybe you can leave an upvote.
A possible workaround is to use the Console Beep third-party plugin.