Another software developer here! I do have this issue sometimes.
Artificial tears and taking a break once an hour helps (the break seems to help the most). Also make sure your fonts are large enough so that you can read it comfortably - then bump them up a little bit more. I find the
$1 color scheme in my editor to be very easy on the eyes while still providing sufficient contrast.
Personally, I found that the yellow tint of a blue light filter caused more eye strain, but everyone's different, so it's worth trying.
Getting a good night's sleep and staying away from screens when I'm not working is also key.