Here's an out of the box suggestion: Dina Remastered II. It's a pixel font, that since it has no curves, scales well on any screen. No sub-pixel nonsense.
Been font jumping for a long time. Consolas, Fira, SF Mono, Input, Source Code Pro, Iosevka… finally settled on Pragama Pro. The font is quite expensive, but really worth it imo. It’s even sharper and clearer on macOS.
I think I've tried nearly every monospace typeface over the years and I've finally settled on JetBrains Mono for more than 2 years now, though IBM Plex Mono is a close second.
I liked proportional fonts for reading code - several of my favorite programming books used proportional fonts for code examples - so when Verdana was released in 1996 I switched to using it in my IDEs. I've had 27 years of pleasantly ergonomic coding - it has a high x-height, different 0/O, I/l/1, and impeccable hinting and kerning. ❤️❤️❤️