Visual Studio QuickTip: Add Emoji to your source code!

The use of emoji is a fairly polar subject, either people love them or hate them. For those of you who who prefer art over text Visual Studio (starting in 2017, I think) supports adding emoji within its text editor.

Simply use the Window + . (period) keyboard command to access the Windows emoji window and add the emoji you want:

image

image

C# however doesn’t allow you to use emoji for variable or object names:

image

BONUS: Emoji in VSCode too!

Of course, emoji also works in VSCode:

image

image

Have fun commenting with flair!!!  ✨✨✨


7 thoughts on “Visual Studio QuickTip: Add Emoji to your source code!”

Leave a Reply