Jacek Laskowski 57 Posted May 8, 2020 Is it possible to enable full ligature support in Delphi code editor? Share this post Link to post
Lars Fosdal 1792 Posted May 8, 2020 Why do you need that in a code editor? Share this post Link to post
Jacek Laskowski 57 Posted May 8, 2020 Because the code looks better, neater and clearer. I use ligatures in VSC and I am a fan of them 🙂     1 Share this post Link to post
Lars Fosdal 1792 Posted May 8, 2020 Can you use ligatures as operators in the actual code? Share this post Link to post
Rollo62 536 Posted May 8, 2020 I'm not very sure about ligatures, but I'm afraid they don't have fixed proportions. I wouldn't think that non-fixed fonts are a good choice for code editors. 1 Share this post Link to post
Fred Ahrens 59 Posted May 8, 2020 My brain would detect this as an error while reading the code. I always expect to see in the source code the characters I did type and not the characters the IDE "thinks" might look better. 3 Share this post Link to post
Stefan Glienke 2002 Posted May 8, 2020 As far as I know the editor control does not support ligatures Share this post Link to post
Jacek Laskowski 57 Posted May 8, 2020 1 minute ago, Stefan Glienke said: As far as I know the editor control does not support ligatures  It just handles, only in specific situations, so I asked if it could be switched on permanently.   I discovered it by accident, it only works if the text is a commentary and only if there is some unicode character pasted in the same line, here unicode ENVELOPE.  Share this post Link to post
Jacek Laskowski 57 Posted May 8, 2020 27 minutes ago, Fred Ahrens said: My brain would detect this as an error while reading the code. I always expect to see in the source code the characters I did type and not the characters the IDE "thinks" might look better. Try to work with JS in the VSC editor, you will quickly change your mind. 1 Share this post Link to post
Jacek Laskowski 57 Posted May 8, 2020 Maybe @jbg know trick to permanently enable this feature in editor? Share this post Link to post