4 ms·
Do the latest builds support fonts with ligatures? [1] One of the reasons I switched from Sublime to Atom was exactly that, but I'm willing to switch back sinc
by laurentdc 9y ago
Do the latest builds support fonts with ligatures? [1]
One of the reasons I switched from Sublime to Atom was exactly that, but I'm willing to switch back since I've yet to find an editor as fast and lightweight as Sublime.
[1] https://github.com/tonsky/FiraCode https://github.com/tonsky/FiraCode
- satysin 9y agoSadly no and from what I remember the dev said that due to how Sublime does text rendering it isn't easy to implement so won't happen anytime soon. A real shame as like you I love Fira Code. Works in Visual Studio, Qt Creator and IntelliJ IDEA perfectly.
- czechdeveloper 9y agoI learned something today. I was not even aware of ligatures.
- zepolen 9y agoHow do ligatures work with characters per line indication, would 81 character line with a ligature make it 80 characters visibly?
- laurentdc 9y agoIt doesn't alter the characters per line indication, so it doesn't mess with debug or syntax error messages if that's what you mean. The difference is only in the presentation, but "under the hood" it's still two characters. In Atom, with Fira: * typing => turns into the ⇒ glyph automatically * it still counts as two: a new document with only ⇒ in it and your cursor at the end reads properly as "Line 1, Column 3" * visibly, if you're using a monospaced version of the font, it looks like a single character. otherwise, the "optical" width is completely arbitrary just like a regular font
- zepolen 9y agoThat would make keeping your code max 80 characters long more difficult since with ligatures it might look less - and text editor rules can't help.
- baldfat 9y agoI started using Atom and switched to VS Code and there was a very noticeable difference between the two. I just fired up Atom again and it still lags behind VS Code.
- 043094u039u 9y agoWell I just fired up VS Code and it lags behind Vim. But seriously, what's the point of your comment except to further circlejerk around VSCode? We get it, Microsoft employees post here. Now stop shoving VSCode down my throat in every editor thread.
- thevtm 9y agoThats C++ vs JS.
- heartbreak 9y agoVS Code is using Electron just like Atom.
- baldfat 9y agoSeriously people wouldn't even know it unless they told people. I hate when the community black lists a technology. I remember when Mono was the M$ Trojan Horse that would destroy the Open Source / Free Software movement.
- deleted 9y ago[deleted]