githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
13.18k stars 220 forks source link

Ligatures in PhpStorm #13

Open devajmeireles opened 8 months ago

devajmeireles commented 8 months ago

❤️ this project, thanks.

How we can use the ligatures in PhpStorm (the most used PHP IDE)?

prplecake commented 8 months ago

Looks like this might affect all JetBrains products - ligatures aren't working in Rider either.

seanm-fathomhq commented 8 months ago

I can't even get the fonts to show up at all in Rider 😩 let alone ligatures

lfdominguez commented 8 months ago

Ligatures not working on IntelliJ IDEA neither.

prplecake commented 8 months ago

@seanm-fathomhq These fonts didn't seem to show up in the monospace section that JetBrains puts at the top of the list. An IDE restart may be required after installing the fonts. That was the case for me on Windows, though my IDEs on macOS picked up the new fonts right away.

seanm-fathomhq commented 8 months ago

Nah unfortunately they don't seem to work at all for me 😕 they're definitely installed, I can see them in the Fonts list in Control Panel and they come up in other apps, but in Rider they don't show up in the list either as Monospaced or Proportional. Tried both the variable and non-variable fonts, tried restarting the IDE and Windows itself. It's possible Rider is doing something different from the other IntelliJ-based IDE's 🤷‍♂️

nizur commented 8 months ago

They show up and I'm able to select them, but ligatures don't work.

seanm-fathomhq commented 8 months ago

not show in fontslist of jetbrains ide

You're searching for "monospa" but the font family is called "Monaspace" (with an "a"). Still though, example from my IDE: image image Fonts are showing up in Notepad though so they're definitely installed: image

svenjacobs commented 8 months ago

Same for Android Studio.

I can see a difference regarding texture healing when toggling "Enable ligatures" on and off but it's not working for combinations like != for example.

savvinov-a commented 8 months ago
image

same on goland, ligaturies not working

andrewf403 commented 8 months ago

WebStorm WS-232.10203.14

Enable Ligatures turns on Texture Healing, but not ligatures

image image
tymscar commented 8 months ago

It's funny, because textual healing works when ligatures are enabled, and #[ also works as a ligature. Nothing else

vguerci commented 7 months ago

AFAIU from Monaspace visual studio config doc here, ligatures works only if you enable them in a particular way, that visual studio supports, but most likely not most other editors these days. I can understand that choice which allows to fine-tune which ligatures we want or not, but I'm afraid that won't work on most editors?

Is there a way "editor.fontLigatures": true, would enable most ligatures (which would work on most editors) while "editor.fontLigatures": "'calt', 'liga', 'dlig', 'ss01', 'ss02', ... (more stylistic sets) ...", would still allow to remove some, for people using an editor supporting that?

❤️ Love monaspace so far, great work, thanks!

heathercran commented 1 month ago

Issues regarding the fonts not showing up in the menu should be fixed with update 1.1 (make sure to install the fonts for all users if you still have trouble).

Enabling ligatures in these programs will only turn on the calt and liga features, as they do not support stylistic sets currently. The next update will include a "frozen" version of the fonts with all ligatures enabled by default to bypass this limitation.