I mainly use ergonomics. I got a chair that works for me, I switched to a Kinesis Freestyle Pro, I switched to a trackball mouse, I raised my monitors up, and if I’m going to be doing a bunch of typing, I throw on wrist braces with aluminum stays.
The split keyboard and better posture were the biggest wins for me. The whole mechanical keyboard fad has been terrible for people’s wrists.
Other things I’ve heard worked for some people that are worth trying: warm gloves or compression gloves. Apparently some people get pain in their wrists from typing in cold environments (like an office). Taking breaks, doing wrist stretches, and having hobbies that use your hands differently can certainly help.
I tend to do everything locally on bare metal. I never liked putting stuff in containers or running a vm.
VS Code is a great editor, though. It actually feels a bit like Emacs.