FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Disable '0x' ligatures in hexadecimal

Open Eplankton opened this issue 1 year ago • 6 comments

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?

Eplankton avatar Oct 15 '23 18:10 Eplankton

Not currently, no

tonsky avatar Oct 17 '23 11:10 tonsky

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

TuTAH1 avatar Nov 19 '23 17:11 TuTAH1

All the time! 640x480 for example

tonsky avatar Nov 19 '23 20:11 tonsky

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 :)

Eplankton avatar Mar 01 '24 16:03 Eplankton

Only way would be to disable all ligatures

tonsky avatar Mar 01 '24 20:03 tonsky

Only way would be to disable all ligatures

Well, thank you for reply anyway!

Eplankton avatar Mar 02 '24 16:03 Eplankton