I often leave the window while waiting for something to build, and that’s when I get distracted. Would be cool if leaving the window started a timer, and if I’m not back within five minutes it pops a notice on the screen.
Or hey having build completion fire a notification would be useful tooo
I have Visual Studio play a sound when the build finishes/fails. May not help you if you’re not using Visual Studio, though. I’m not sure is this can be done with VS Code.
Eliminate all loading times from your workflow using incremental and background builds. The computer will constantly do work for you, but the computer is a work horse, not your baby. Get the fastest CPU you can afford, with silent cooling.
There are occasional scenarios where this doesn't work out. The data mapping tool we use (MapStruct) doesn't automatically rebuild with changes in IntelliJ which means I have to manually kick off a compile step any time I have changes in the mapper. Worse still, that compilation doesn't always register in the build as seen by the in-IDE JUnit runner so I sometimes have to run all the tests from maven instead of just the one I care about through the IDE. Fortunately, this isn't a big part of my workflow, but wait times aren't always avoidable.
I wonder if an extension can be made to scramble your keyboard for x minutes. Rendering your keyboard input unusable while you take a break.
or just turn you keyboard off?
Literally just came to post the exact same comment.