Jump to content
Jacek Laskowski

Fonts & ligatures

Recommended Posts

Because the code looks better, neater and clearer. I use ligatures in VSC and I am a fan of them 🙂

 

 

ligs.thumb.gif.95861f6776fdc1494b80941b060b3603.gif

 

 

  • Like 1

Share this post


Link to post

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.

  • Like 1

Share this post


Link to post

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.

  • Like 3

Share this post


Link to post
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.

 

image.thumb.png.8c9ca2feb26423cf8a6e3435a99eacc7.png

 

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
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.

  • Like 1

Share this post


Link to post
Guest

I feel so old now...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×