Bug 542954 - Some understanding of emoji (hover, codemining, warning, quickfix...)
Summary: Some understanding of emoji (hover, codemining, warning, quickfix...)
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.10   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 10:01 EST by Mickael Istria CLA
Modified: 2018-12-20 10:01 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2018-12-20 10:01:00 EST
I find myself using emojis more and more frequently because it's easy and cool.
However, emojis should often be avoided in Java strings as they can face some encoding issue and result in unexpected behavior. It's suggested to use the Unicode version instead (like \u25b6\ufe0f instead of the Play button).
JDT could detect that and provide a warning + a quickfix.
Another interesting feature would be to have the preview for a sequence of Unicode emojis, either as code-mining or hover.