tonsky / FiraCode

Free monospaced font with programming ligatures
SIL Open Font License 1.1
76.03k stars 3.07k forks source link

Disable '0x' ligatures in hexadecimal #1553

Open Eplankton opened 8 months ago

Eplankton commented 8 months ago

I find that the 'x' variant in '0xffff' or in string 'ffej2f354x23' to be very annoying, do we have an option in [editor.ligatures] to shut it down?

tonsky commented 8 months ago

Not currently, no

TuTAH1 commented 7 months ago

Why does that exist in the first place? Are there really cases when we use "x" instead of "*" for multiplicating in the code?

tonsky commented 7 months ago

All the time! 640x480 for example

Eplankton commented 4 months ago

All the time! 640x480 for example

If I really want to shut down this feature in vscode, how should I do? I work in embedded software, we have so many hex number here, please :)

tonsky commented 4 months ago

Only way would be to disable all ligatures

Eplankton commented 4 months ago

Only way would be to disable all ligatures

Well, thank you for reply anyway!