-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
IntelliJ products instructions
Proper support for ligatures was added in 2016.2 (incl. font compatibility & better performance).
- Enable in
Settings
→Editor
→Colors & Fonts
→Font
→Enable Font Ligatures
- Select
Fira Code
as "Primary font" underSettings
→Editor
→Colors & Fonts
→Font
→Editor 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.
If you see something like that
Open cmd.exe
, cd C:\Windows\Fonts
and then del
every file that looks like FiraCode-Regular_**.ttf
. NB these files are invisible if you open Fonts
in Explorer
If the files are locked you can use Unlocker. In details you should:
- Install unlocker
- Open
cmd.exe
as admin (press the Windows key, typecmd
and right click on the result to run it as admin) -
subst q: c:\windows\fonts
, replaceq
with any other letter if you already have an unit with that name - Open unlocker from the start menu,
Start Unlocker
- Select any file named
FiraCode-Regular_**.ttf
from theq
unit, selectDelete
and pressUnlock all
(you could also try simply closing the applications if you can) - type
subst /D q:
inside the command prompt to remove the new unit
Issue: https://youtrack.jetbrains.com/issue/IDEA-159901
This should work for Fira Code 1.102 and IntelliJ products v. 15 and later (IDEA, PhpStorm, PyCharm, RubyMine, WebStorm, AppCode, CLion, DataGrip):
- Create
idea.properties
file in the configuration directory of your IDE (see where you can locate your configuration directory for your product) - Add this:
editor.enable.optional.ligatures=true
- Restart your IDE
NOTE: IDEA support of ligatures is considered experimental. E.g. scroll performance may be very slow. It has been reported here
NOTE: There’s an issue on OS X when Fira Code Light is used instead of Regular weigth by default (discussion). To work around that, do not install Light weight at all. (this is fixed in latest 16 EAP) Also, installing TTF as opposed to OTF renders better with IntelliJ on the Mac.
NOTE: For latest EAPs of JetBrains products, that file doesn’t matter without setting preference:
Editor
→Font
→Enable Font Ligatures
Fira Code
💻 – Home – Wiki – Issues – Suggestions
Enabling: Atom | VS Code | IntelliJ | BBEdit | Brackets | Emacs | GoormIDE | Cloud9 | MacVim | Notepad++ | RStudio | Sublime Text | Visual Studio | MATLAB
Troubleshooting
Stylistic sets
Language Coverage
OSes/Tools: Linux | Chrome devtools | LaTeX | Chrome OS terminal