4 ms·
What sort of code are you writing? What languages are you using?
by lsb 14y ago
What sort of code are you writing? What languages are you using?
- CJefferson 14y agoWhile I'm not the parent, I can comment on this too. I program in Python, C, C++ and Java. In all these languages I prefer a proportional font. However I had to stop, mainly because the editors I want to use (Sublime text 2 at the moment) don't support proportional fonts.
- lutusp 14y agoProgramming in Python, where whitespace is syntactically significant, with a proportional font, seems to be volunteering for an unnecessary burden. Reasonable people may differ. The only mitigating factor would be that the spaces at the left margin all (presumably) have the same width.
- dagw 14y agoAnother proportional font using python programmer here. All significant white space is in the left margin and all has the same width, so not a problem at all.
- Stratoscope 14y agoAnd those are the only spaces that are significant in Python. Indentation works fine in proportional fonts, just like it does in monospaced fonts. The only thing that doesn't work is columnar alignment after the indentation, and that wouldn't be significant in Python anyway.
- cowsaysoink 14y agoProportional fonts seem to work for me in ST2 (http://i.imgur.com/ZLZWP.png http://i.imgur.com/ZLZWP.png) I just put this into the config: "font_face": "Verdana" Though I may be missing something.
- dt7 14y agoIn fact, I'm pretty sure if you put an invalid font name in you get a default proportional font.
- Stratoscope 14y agoYou're not missing anything. I'm using Georgia in ST2 via the same font_face setting you're using. Works great!
- CJefferson 14y agoNo, you aren't. I tried something like that in the past and it didn't seem to work. No idea why now!
- macrael 14y agoLately I've been writing a lot of ruby on rails