Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert != to ≠ and -> to → in Android Studio?

In some video tutorials, I saw that Android Studio automatically converts != and -> to equivalent unicode characters. How can I config my Android Studio for doing this?

like image 216
Ali Behzadian Nejad Avatar asked Mar 10 '18 07:03

Ali Behzadian Nejad


1 Answers

This is just the font not Android Studio actually you can use it in any text editor/IDE and get the same result you can find link to Fira code font.

Instructions for Android Studio:

Version 2016.2 and later

Proper support for ligatures was added in 2016.2 (incl. font compatibility & better performance). - Enable in SettingsEditorColors & FontsFontEnable Font Ligatures - Select Fira Code as "Primary font" under SettingsEditorColors & FontsFontEditor Font

NOTE that since 2016.3 IntelliJ products come with Fira Code bundled with the editor itself. If you want latest version of Fira Code, install it separately & restart your editor.

like image 150
iAmrSalman Avatar answered Oct 04 '22 04:10

iAmrSalman