What encoding should I use in WebStorm to see/display the emojis in the source code?
Right now using utf-8
is not showing the emojis.
It is not currently supported :(
https://youtrack.jetbrains.com/issue/IDEA-111788 -- watch this ticket (star/vote/comment) to get notified on any progress.
UPDATE (2017-02-09): This is a work in progress so hopefully it will be fully available in 2017.1 final.
2017.1 EAP builds already have such support (from first EAP build).
Here is a screenshot IntelliJ IDEA (it uses the same code base for editor features):
From: https://blog.jetbrains.com/idea/2016/12/intellij-idea-2017-1-eap-is-open/
Emoji
The code editor now correctly handles Unicode emoji characters. On Mac OS X emoji characters are rendered as colored images. On Windows and Linux emoji are rendered as monochrome characters. Go ahead and use emoji in comments, String literals and resources.
Here is screenshot from the Rider IDE (same editor code base in this regard):
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With