Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable font ligatures in Android Studio 2.0?

I've been trying to use FiraCode with its awesome programming ligatures in Android Studio 2.0.

Upon looking on FiraCode's installation guide for IntelliJ IDEs, it said that I should enable a flag in the idea.properties file likewise:

editor.enable.optional.ligatures=true

I've tried to look it up in IntelliJ's guide on how to achieve this. The guide states that I should be able to edit the file in question via the Help menu:

You can create an empty file idea.properties and open it in the editor by choosing the Help | Edit Custom Properties command on the main menu.

But I just can't find it in my setup. Is this achievable in Android Studio 2.0?

like image 944
Hadi Satrio Avatar asked Jan 07 '23 07:01

Hadi Satrio


1 Answers

At the Android Studio menu bar, Go to Help > Edit Custom Properties.... If you've never created this file before, Android Studio will ask if you want to create it. Click "Yes" and then in the new file, copy and paste the entry

editor.enable.optional.ligatures=true

and restart the IDE.

The above steps works with IntelliJ IDEA and Pycharm.

like image 138
somoso Avatar answered Jan 11 '23 02:01

somoso