How to show -> and => as special characters in the IntelliJ Idea IDE? - intellij-idea

How can I show some symbols as special characters in the IntelliJ editor (for the Rust and Java languages), for example -> as →?

You are searching for font ligatures.
In writing and typography, a ligature occurs where two or more graphemes or letters are joined as a single glyph. An example is the character æ as used in English, in which the letters a and e are joined.
IntelliJ supports this by default in the Settings -> Editor -> Font -> Enable font ligatures:
Fonts supporting ligatures I'm aware of are:
Fira Code
Iosevka
Hasklig
PragmataPro
monoid
Ligaturizer

You're going to want to use a font which supports ligatures, such as Fira Code: https://github.com/tonsky/FiraCode

Enable in Settings → Editor → Color Scheme → Color Scheme Font → Enable Font Ligatures. Select Fira Code as "Primary font" under Settings → Editor → Color Scheme → Color Scheme Font → Font.

It worked for me to do the following within the IntelliJ settings

Related

How to adjust the font size for Markdown in IntelliJ DataSpell? (PyCharm)?

I'm trying to enlarge the font for the markdown displayed in the Jupyter Notebooks opened with IntelliJ DataSpell.
I have adjusted anything in the Settings Menu you can think of. But it only affects the Menu or the Editor, never the Markdown shown.
I found an old topic (below) but that does not work.
How do you change the Markdown preview font size in IntelliJ IDEA?
Has anybody another idea how to adjust the font size?
Regrettably, it is not available.
Please vote for https://youtrack.jetbrains.com/issue/IDEA-232254 in order to increase its priority.
To change the font size of the menus and markdown texts:
File -> Settings -> Appearance & Behavior -> Appearance -> Use custom font (change font) -> Apply / OK
To change the font size of editor:
File -> Settings -> Editor -> Font (change font) -> Apply / OK
To apply changes on Markdown cells, you have to either double click on the cell and run the cell again or just restart the DataSpell IDE.

intellij idea selecting color for ui

I am using Dracula theme on my IntelliJ idea and I see the dark font on the Find in Path, Tex to find box and search results text which is really difficult to read.
How can I customize these colors
You can update the colors in the Editor Settings. Go to Preferences -> Editor -> Color Scheme -> General.
On the right pane select Text -> Default Text from the list of expandable options. Update the properties as required.

Enabling/Disabling IntelliJ's fancy ≠ (not equal to) operator

I witnessed this in the GOTO 2016 • Kotlin - Ready for Production conference by Hadi Hariri.
In some of his code, what would normally look like:
if (x != y) { /* do some stuff */ }
Is being displayed in an elegant style:
if (x ≠ y) { /* do some stuff */ }
The code uses the regular != operator, and the IDEA takes care of the rest.
So, how can I enable/disable this?
To enable ligatures, go to the Settings → Editor → Colors & Fonts →
Font, choose a font that supports ligatures, e.g. FiraCode, Hasklig,
Monoid or PragmataPro (the font has to be installed) and select the
Enable font ligatures option.
Source: link.
To preview some fonts, including several with ligatures: https://app.programmingfonts.org/
This is the "font ligatures" feature, which uses ligatures to combine the characters in fonts that support them. This feature is disabled by default in the standard editor, and enabled by default in the Reader mode introduced in 2020.3.
This feature can be enabled & disabled for the current project in the project settings window (File | Settings… in Windows and Linux or IntelliJ IDEA | Preferences… in macOS).
The settings are located in the settings window at:
Editor: Editor | Font -> "Enable font ligatures" checkbox
Reader Mode: Editor | Reader Mode -> "Font ligatures" checkbox
Goland 2020.3 (and maybe other versions too) seems to have a bug. Enabling and disabling Goland -> Preferences -> Editor -> Font -> Enable font ligatures works well on normal files but doesn't take effect on files under the vendor/ directory. These files need to be closed and reopened in the editor.
I use Material Design Theme with Android Studio 4.0, navigate to:
File->Settings->Editor->Color Scheme->Color Scheme Font
and check Enable Font Ligatures.Do the same for:
File->Settings->Editor->Color Scheme->Console Font.
This is after choosing FiraCode as your font in inteliJ. Find it here and install it as a normal font.
This is "font ligatures", which is a feature of certain fonts to display two characters into a single symbol (but the two characters are still there in the file). You can search the Preferences page for "ligatures" and check to enable. You'll also need to use a font that supports ligatures, such as Fira Code.

Is it possible to change the console font size in IntelliJ IDEA

Is it possible to change the console font size in IntelliJ IDEA?
I changed the actual text size under Settings > Editor > Font, but "console/terminal" font is too small.
I'm using Community Edition 15
Works on every Intellij Version
Press Ctrl+Shift+a and search for console font:
Select Console Font and the right settings menu will be opened.
Intellij Version < 2018
Open Settings -> Editor -> Colors & Fonts -> Console Font
You can change font size and colors there but you have to save the Scheme into a custom scheme before you can change the values.
I am using the ultimate edition. If you don't see that settings it's probably because of the community edition you are using.
Intellij Version >= 2018
Open Settings -> Editor -> Color Scheme -> Console Font

How to fix StrikeFont»doesNotUnderstand: #glyphRendererOn: when rendering text in Roassal 2 on Pharo 3

When you load Roassal 2 on Pharo 3 and try anything that involves text rendering, you get the following error message:
StrikeFont»doesNotUnderstand: #glyphRendererOn:
I could find some advice in the forums, that you have to
enable True Type fonts (Settings Browser → Appearance → Use Free Type) and
update the font list by executing FreeTypeFontProvider current updateFromSystem.
But the error remained the same.
Roassal 2 seems to use the Default Standard Font for it’s text rendering.
So apart from enabling and updating True Type fonts, you also have to make sure to select a True Type font as your Default Standard Font, for example via the Settings Browser:
Settings Browser → Appearance → Standard Fonts → Default