Font Discovery
Code and terminal
Look for distinguishable punctuation, aligned columns and readable operators.

Rendered from JetBrains Mono. Compare the other candidates before selecting a final design.
What to check
Compare JetBrains Mono, Fira Code, IBM Plex Mono and Space Mono in your editor. Each has a different character rhythm; some support coding ligatures, but the editor and selected face determine the result.
Use Il1, O0, ==, !=, =>, {}, [] and 0123456789 at your real editor size. Enable and disable ligatures to confirm what is actually rendered. Check fixed pitch and whitespace before selecting a face for aligned source code.
Verify ligatures and actual fixed pitch in your editor.
These are editorial starting points, not a guarantee that every face supports your project requirements. Check the actual style, language coverage and license.
Compare four candidatesExplore 4 font families
JetBrains Mono
Monospace · Variable · 2 files

Default-face specimen. Try your own text in the font details.
Monospace typeface by JetBrains, Philipp Nurullin, Konstantin Bulenkov. Includes variable font files.
Fira Code
Monospace · Variable · 1 files

Default-face specimen. Try your own text in the font details.
Monospace typeface by The Mozilla Foundation, Telefonica S.A., Nikita Prokopov. Includes variable font files.
IBM Plex Mono
Monospace · Static · 14 files

Default-face specimen. Try your own text in the font details.
Monospace typeface by Mike Abbink, Bold Monday. Open-license font family.
Space Mono
Monospace · Static · 4 files

Default-face specimen. Try your own text in the font details.
Monospace typeface by Colophon Foundry. Open-license font family.