What fonts do you use in your editor(s)?

Did you find this post useful? Show some love!
DISCUSSION (128)

Most Fira Sans on GUI elements and Roboto for the editor itself.

I use FiraCode, mostly for the ligatures but I do also like the look of the font.

Me too! Discovering ligatures has made me shun fonts without support for them now. Used Hack, Inconsolata, Source Code Pro and Consolas before but it's Fira Code everywhere now.

I prefer the Source Code Pro look. There's a version of it with ligatures called Hasklig, which I use right now in VSCode and it's rendered super great.

Hasklig is awesome with VS indeed! Thanks for sharing it.

Why would you want ligatures in your editor font? Seems hard to read to me. Can you give examples of what you mean?

Hell yes, FiraCode. I use it in VS 2017 and VS Code. First thing I install in a brand new environment.

Once you go FiraCode, you don't go back or something.

Ooh, never seen FireCode before but it looks really good - excited to try it in VS 2017 tomorrow!

I never heard of ligatures before. They look rad. I'm going to give them a try.

I've been using Monaco as my font otherwise.

Caveat: I've not tried it, but question: why would you want ligatures in a mono-spaced font? I'm assuming it's mono-spaced? (Not intended as any sort of knock on your choice, I'm just truly curious.)

Answering my own question: I see that you are (probably) referring to the "ligatures" for various symbol character combinations -- not the traditional typographic ligatures for sequences such as "fi" or "tt". (I worked at a typesetting company many years ago. :-) )

I use Monaco in the terminal and the Atom default in Atom.

One time I accidentally deleted the font I was using for my terminal and the terminal became non-monospace (impossible to work with), so I hastily switched to the first monospace font I could find. That font was Comic Sans and I let it stay as my terminal font for way too long.

🙃

Wait, is there a monospace version of Comic Sans?

That's pure evil, Ben.

After a long time with Monaco, I've been trying a few fonts with programming ligatures, currently testing out:
github.com/tonsky/FiraCode

Perhaps one day I'll pay the $200 for:
typography.com/blog/introducing-op...

I use Fira Code as well. I also like Input, which is a proportional font designed for programming (supported in IDEs such as Visual Studio, Eclipse, Xcode).

Font Playground lists a lot of popular fonts for programming. Didn't list Fira Code, Consolas, nor Input though.

Another programmer font list, with 100+ fonts: Best Programming Fonts. Doesn't have an interactive display of the fonts, but has an extensive list, and provides some pro/con bullet points on each font, and a link for getting the font.

A co-worker used this font. It was super nice to look at, and the ‘fancy’ comments are easier on the eyes.

Try PT Mono (macos). Not as good as Operator, but a very good and free alternative.

A bunch more programming suitable fonts (50+ fonts) and a nice browser comparison at Programming Fonts. Each font has a link to where to get it.

I am a very happy Source Code Pro user too :)

I use Source Sans. I started with Source Code but it doesn't read as easily (kerning was invented for a reason) and it turns out that I never actually benefited from the monospace so I switched.

Both versions though are attractive, easy to read fonts. I try new ones when I see them and always go back.

I use Haskling, it's basically SCP but with ligatures ✔

Some favorites are Inconsolata and fira code.

Here's a gallery of pretty much every free use code font for your browsing and downloading pleasure:

github.com/chrissimpkins/codeface


cover_image: i.imgur.com/KPRX64A.jpg

FiraCode and Operator Mono with this cool theme
I used Source Code Pro and Ubuntu Mono long time ago.

I use Fixedsys Excelsior with programming ligatures, which looks like this..

I've made a progression among three that have been named here

Source Code Pro - I love this font.

Fira Code - Ligatures FTW!

Hasklig - This is a fork of Source Code Pro that also does ligatures - the best of both worlds!

I use Comics Sans, just for the look on people's faces when they realise.

More seriously, I use Comic Neue, which isn't an ideal font for coding in some languages because it lacks a glyph for "`", which is rather useful in Markdown, and some variants of Bourne Shell and Python. I switched, though, to using a proportional font years ago and never looked back. Comic Neue, unlike it's Sans cousin, is a reasonably well designed sans font.

I've looked at Fira Code, and besides the fixed-font thing, the ligatures on operators give me the wibbles. Ligatures on variable names, though, wouldn't worry me at all.

Proportional fonts are great. The textual parts of the language compress visually much better - this also allows the developer to use more width for identifiers. It's much faster to read, too, and you're less likely to misread identifiers as well. The resultant code tends to have better-named identifiers, too, I find, and the comments... Well, there's absolutely no comparison between reading a block of text in monospace and a block in proportional font.

The only problem comes when some project I'm working on has an arbitrary line length in characters. I can never get along with those, since with a proportional font they're impossible to judge and largely irrelevant anyway.

I keep switching fonts between different editors and across time. I am frequently using:

Input Lots of customization possible. I like the wavy curly braces option.
Fira Code (most often with F# or C#)
PT Mono (Old school)
Roboto Mono (quite relaxing)
Monaco (A nice default on MacOS)

I'm gonna give a shot to Fantasque mentioned earlier!

I'm also all about the ligatures! I've been through a lot of fonts but have settled on Hasklig for the past year or so. It looks great for JS (which I do for work), Clojure (which I do for fun), and obviously for Haskell (which I do very rarely when I want to feel humble).

I use "Bitstearm Vera Serif".

Yes, it's a proportionally spaced font, and yes it has serifs. I have to look at code all day, might as well be a pretty font.

Unfortuantely my console is still stuck in the ugly monospaced land. There I use DejaVu Sans Mono. I'm still waiting for a good Unicode console that can deal with proportional fonts and varying font sizes.

I always look for new fonts to try out and since last week I've been using Go Mono for Powerline and so far it's been working.

It's a little thick although I've preferred thin fonts earlier Go Mono been sticking with me since last week.

I use SF Mono Regular 12pt* for my terminal and the "Menlo, Monaco, 'Courier New', monospace" font-family for my VS Code editor.

*I did change the character spacing to 1.1

My I ask what prompted a character spacing change?

Long time Hack user, now using Liberation Mono (inspired by Handmade Hero) in Sublime and Operator Mono (inspired by Wes Bos) in the Terminal.

Every couple of months I take some time to update my fonts and color-schemes. As former designer I spend more time on this than I like to admit.

I like to test different fonts for my editors, but for a long time I settled on Hack for editors and terminals. But then I stumbled with font ligatures, and went through Fira Code in VSCode…

But right now I'm using the fantastic Fixedsys Excelsior because I like how it reminds me of the old MS-DOS days in my childhood. And it has font ligatures too!

I use Iosevka in editor and terminal, with Base16 color theme.

I created a project to add custom ligatures like Fira Code directly to Operator Mono. Check it out!

github.com/kiliman/operator-mono-lig

I started with Ubuntu Mono and Monaco, then onto Operator Mono. Now I've been stuck on Hack. I find it great for the languages I mostly use (JS, TypeScript, Python, Haskell)

I'm probably one of those people who just get used to the one font they've always used.

DejaVu Sans Mono.
Except for my Twitter Client, that's Anonymous Pro.

But everything else is DejaVu Sans Mono.

I use Envy Code R for sans, and PT Mono for serif.

Big fan of M+ 1mn. I'm giving Fira Code a whirl right now, not sure whether the benefit of the ligatures outweighs the quicker scannability of M+ 1mn.

Mostly I use Consolas. I've been working to harmonize my dev environments at work and home, and of the options that are available at work it's been the best.

I've thought about switching, but every time I think of the hoops I need to jump through just to get a font installed...

I love Monaco and used it for everything for a while. Now it's just for Eclipse, and Hack is my go-to programming font in Atom and in iTerm2 when I'm using Vim.

I've been using Open Sans for everything in my systems, it's easily available and comfortable to look at.

Yes it is nice. I've been using Noto Sans, whose goal is to provide a glyph for every character google.com/get/noto/

I've been on an SF Mono kick lately, but I also really like Menlo—they are both stylish and attractive fonts that are also easy to read.

PragmataPro by Fabrizio Schiavi (fsd.it/shop/fonts/pragmatapro/). Not cheap but worth every Cent.

Hack font is my favorite! It is a nice and clean, open source, monospaced font.

Well I use Roboto Mono Medium, looks good if you like bold fonts.

Sweet sweet Operator Mono. ❤️❤️❤️

Combined with vscode and the Material Operator Theme 😍😍😍😍😍😍😍😍😍😍😍

twitter.com/TheLarkInn/status/8799...

If you love Operator Mono, you'll love it more with ligatures. I created a project to add custom ligatures like Fira Code to Operator Mono.

github.com/kiliman/operator-mono-lig

ProFont tobiasjung.name/profont/ (monospaced... for the whole system, not only IDE)

What is it that draws you to ProFont?

It has a really good readability in small and large font sizes (7pt and above), making l, 1, I, 0, O different and with bold punctuation marks...

Inconsolata for code and Noto Mono Regular for command-line work.

PragmataPro...It isn't cheap but I think it's worth it when you type and read al day log

Roboto Mono is smooth-looking and it makes me feel happy inside

I'm currently using Consolas too. It's a nice monospaced font.

Source Code is what I use for all my monospace, and Source Sans for interface. If I'm working on documents, I may also use Source Serif or Cabin.

If you guys feel you need the ligatures there's some work being done on github.com/SSNikolaevich/DejaVuSan... but I personally don't care at all about it.

Iosevka. It has the ligatures and it just looks nice and not that monospace-y. (it's kinda condensed but in a good way).

One more user of FiraCode, everywhere it's possible, mostly for ligatures.
Before that I used Ubuntu Mono.

SF Mono and Source Code Pro.
But I'd love to see ligatures in these fonts!

I use Monoid (without ligatures) on PC and Source Code Pro an Android.

I use Roboto Mono, both in terminal and editor.

Lately, I've been using Droid sans mono into my terminal setup, therefore I'm using the same for nvim =)

Monaco I guess it only available on OSx

I've been using Hack for years but with all the mention of FiraCode and it's fancy ligatures thingies, I think I'll give it a try.

I'm currently using Menlo in JetBrains. Not something I stress over: I just tried a few of the available fonts, Menlo seemed clear and unambiguous, and then I got back to work. :-)

I'd love to use FiraCode but as I'm more in love with Sublime Text than I need ligatures… I'm with Monaco (at 14pt but please tell noone). =D

Classic DEV Post from Jun 9

How do you gain a deep understanding of your code?

Discussion on how to learn with the goal of knowing the language/framework inside out.

Jess Lee
Taiwanese American based in Brooklyn. Finding, coding, and operating things at dev.to 👩🏻‍💻
Join dev.to

Better understand your code.