How to add Emoji in code?

47,906

Solution 1

This solution is for Mac OS (Mavericks and up) and not only Xcode:

Cmd+Ctrl+Space

Will bring this menu, where you can simply click on the one you want:

emoji picker menu

Solution 2

Open Xcode -> Edit Menu -> Choose enter image description here

Then Emoji appears , Here is snapshot :

enter image description here

Note : - Xcode 7.2.1

Hope it Helps. Thanks

Share:
47,906

Related videos on Youtube

4thSpace
Author by

4thSpace

Updated on November 23, 2020

Comments

  • 4thSpace
    4thSpace over 3 years

    In Xcode, I've previously gone to Editor > Emoji & Symbols, found some Emoji, double clicked it and had it appear in my code where the cursor is.

    I'm trying to do that now and nothing is happening. I can't find any way to get the Emoji into Xcode.

    Does anyone have some suggestion?

    • devxoul
      devxoul about 8 years
      How about this: copy in Text Edit and paste it to Xcode.
  • 4thSpace
    4thSpace about 8 years
    None of you have read the OP. You're all showing to get to the Emojis, which I've already described.
  • Newbie Questions
    Newbie Questions over 7 years
    Thank you for that , simplest solution and emojis :D
  • Madbreaks
    Madbreaks over 5 years
    With great power comes great responsibility...
  • Koray
    Koray about 3 years
    For Windows → "windows button" + "."
  • ejain
    ejain over 2 years
    Cmd+Ctrl+Space no longer appears to work in Visual Studio Code 1.65.0, instead it's fn+e.