Live data from Hacker News

Sublime Text 3 now has font ligature support

forum.sublimetext.com

51–60 of 115 posts

Re: Sublime Text 3 now has font ligature support

#52
post #22

Earlier quoted context omitted.

Besides fancy programming fonts (which I have mixed feelings about), ligatures and other complex text shaping features can also be necessary for legibly rendering string literals in some non-Latin scripts, like Arabic script. Even if your code is all in Latin letters, you might have test data, UI text, etc., that's in something else.

Thank you for providing this insight -- I'm one of the seemingly rare few who hates ligatures in my Latin-script fonts, and when I saw this submission my brain leapt to "augh, why!?" -- you've given at least one very clear use-case where ligature support is valuable, which I was totally unaware of.

The cool thing about ligatures is that they are a property of the font, not of the text, so I can have a font with ligatures and you can have one without.

Re: Sublime Text 3 now has font ligature support

#53
post #23

I think Sublime Text is very good but has fallen behind in terms of version control. I think Atom and VS Code are winning the war right now. Especially because the latter are free.

I personally prefer version control in sublime with suitable plugins it's the debugging experience that I feel is lacking in sublime Vs vscode and atom Sublime does not have the concept of panels so any kind of debugger in sublime looks and handles really bad

The Built-In Terminal in VSCode is something I would love to see in Sublime. For Ruby Coding this would be sufficient for me. For Go I currently prefer VSCode because of the debugging capabilities.

Re: Sublime Text 3 now has font ligature support

#54
post #28

Honest question: Why would you want ligatures in plaintext? Especially in code, wouldn't that be weird as some people tend to manually align their code? Like, modular_raft = 10 spam = 20 The "ft" in modular_raft should convert to a ligature so (I assume) it will then take one character, instead of two. Then developers viewing that source would have different alignments, depending on whether they use Sublime 3 or not.…

This reminds me of elastic tabstops. https://en.wikipedia.org/wiki/Tab_stop#Elastic_tabstops Does Sublime Text support those? Any other popular editor? If not, why?

No decent editor or IDE supports "proper" elastic tabstops, except for a Visual Studio plugin, I believe.

The problem is that it needs the underlying text editor to support different non-uniform tab stops to be configured for every line of code. Few if any text editors support it.

Re: Sublime Text 3 now has font ligature support

#55
post #22

Earlier quoted context omitted.

Besides fancy programming fonts (which I have mixed feelings about), ligatures and other complex text shaping features can also be necessary for legibly rendering string literals in some non-Latin scripts, like Arabic script. Even if your code is all in Latin letters, you might have test data, UI text, etc., that's in something else.

Thank you for providing this insight -- I'm one of the seemingly rare few who hates ligatures in my Latin-script fonts, and when I saw this submission my brain leapt to "augh, why!?" -- you've given at least one very clear use-case where ligature support is valuable, which I was totally unaware of.

This was the most recent blurb on HN I've seen about fonts with ligatures for coding:

https://news.ycombinator.com/item?id=14821446

I've mixed feelings about the idea, but generally seem to like the combination of Atom and Fira Code.

Re: Sublime Text 3 now has font ligature support

#57

Earlier quoted context omitted.

And Magit wipes the floor with them, so I guess all Atom and VS Code users should migrate to Emacs ;). People judge editors along different dimensions. E.g. I have tried Visual Studio and Atom, but for me they (especially Atom) are simply to slow compared to Sublime/Emacs/vim.

I also used to think the same with respect to Sublime and Atom, but Atom got faster lately with respect to the first releases. Then, it's possible to end up with really slow Emacs (e.g: Spacemacs is slow).

Atom got faster lately with respect to the first releases.

Yes, that's true – but it's still so, so much slower than Sublime that it's absolutely not worth it – for me, at least! Whatever tools work for you :)

Re: Sublime Text 3 now has font ligature support

#58
post #12

Honest question: Why would you want ligatures in plaintext? Especially in code, wouldn't that be weird as some people tend to manually align their code? Like, modular_raft = 10 spam = 20 The "ft" in modular_raft should convert to a ligature so (I assume) it will then take one character, instead of two. Then developers viewing that source would have different alignments, depending on whether they use Sublime 3 or not.…

It doesn't affect formatting spacing and is mostly for special symbols like arrows, greater than equal, double and triple equalities, etc. The ligatures in question are for programming languages, not stuff like 'ft'.

This is my understanding of it as well. The purpose is to DISPLAY two characters as one more clearer to view character, but on GitHub and other places it will still be two independent characters. The purpose is clarity whilst viewing code.

Re: Sublime Text 3 now has font ligature support

#59

I think Sublime Text is very good but has fallen behind in terms of version control. I think Atom and VS Code are winning the war right now. Especially because the latter are free.

Call me when either of then have decent diff tool support.

Seriously, every diff tools sucks compared with commercial ones. e.g. BeyondCompare.

Re: Sublime Text 3 now has font ligature support

#60

Yes!!!!!!!!!!!!!! I nearly quit sublime after using an editor that supported this feature for a month. While sublime is vastly superior in my mind to most other editors (spacemacs and Vim in my book not withstanding) I make a lot of use of icons in the Nerd Fonts for custom icons so this is a huge plus for me. In my haste: forgot to link to the nerd fonts page! https://github.com/ryanoasis/nerd-fonts For what it’s wo…

Could you expand on what exactly you use Nerd Fonts for?

I downloaded a few fonts and was expecting using an icon code + a ligature supporting editor to result in the icon magically appearing in my editor but that does not seem to be the case.

Post reply on HN