I have come through many tutorials and screenshots of JS Code in Visual Studio Code editor consisting of formatted arrows seen for arrow functions.
Which extension/theme/symbol set is required to get that like in the screenshot?
What you are looking for is a font designed for coding called
Fira Code
It's one of the most popular fonts among programmers
It will turn => into that arrow shape you saw and do other stuff
There are instructions on how to use in vs code
Install the FiraCode font from https://github.com/tonsky/FiraCode/releases
Add this in the settings.json:
"editor.fontFamily": "Fira Code Medium, monospace",
"editor.fontLigatures": true,
"terminal.integrated.fontFamily": "monospace",
"editor.fontSize": 13
Three steps
Fira Code
in Font Family inputNote: If needed, restart VsCode
All the best
install font : Fira Code ( https://github.com/tonsky/FiraCode/releases )
or
install font : cascadia-code ( https://github.com/microsoft/cascadia-code/releases )
You have to also set editor.fontLigatures
to true. When using fonts with font ligatures.
You can install One Dark Pro extension which gives you very similar experience.
Apart from this I use
Manage -> Setting -> open json
"editor.fontLigatures": true,
"editor.fontFamily": "'cascadia code',Consolas, 'Courier New', monospace",
font Link: https://github.com/microsoft/cascadia-code/releases/latest
VSCode tutorial:
Open settings.json, then put this in the json:
"editor.fontFamily": "Fira Code Regular",
"editor.fontLigatures": true
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.