4 ms·
Could you share a screenshot of your editor with Trebuchet? I would never think of it (or any other proportional font) as an adequate font for coding, so I’m pr
by zeitg3ist 7y ago
Could you share a screenshot of your editor with Trebuchet? I would never think of it (or any other proportional font) as an adequate font for coding, so I’m pretty curious to see what it looks like.
- Stratoscope 7y agoSure, here's an example: https://imgur.com/482puD4 https://imgur.com/482puD4 If the text looks huge, it's because I took the screenshot on a high-DPI device with 200% scaling, sorry about that. Imagine it half the size and you will have a better idea of how it actually looks. In any case, the point is that code like this just doesn't depend on monospacing. If you viewed the same code in a monospaced font, it would look pretty much the same except for the font choice. The key is to not do column alignment tricks that assume a monospaced font, like this: doSomething(oneParam, anotherParam); Instead, if you just do indentation like this, your code will look fine with any font: doSomething( oneParam, anotherParam );