ReSharper Easter Egg?

A while ago, I was looking through some C# code and came across something fun that was being added by ReSharper.

In comments, the words “gold” and “silver” are underlined with that color. I don’t know if this is just an easter egg or if there’s more to it. I’m curious if anybody else has noticed this or other words. Ideally, this is some sort of golden ticket added by JetBrains and I win a prize visit to the “factory”! ;)

Related:

Post Footer automatically generated by Add Post Footer Plugin for wordpress.

About Chris Missal

Oh hey, I'm a Senior Consultant for Headspring in Austin, TX. I've been working in software professionally since 2006 and I really, really love it. I'm mostly in the Microsoft world, but enjoy building computer things of all sorts (to be vague). When I'm not slinging code, I'm probably out and about slinging discs, bowling balls, or good beer with great friends.
This entry was posted in For Fun, Reading Code. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • Diego

    Are you sure it’s R# adding that?
    I’m using it and it doesn’t underline anything…

  • Craig Wilson

    I had a vs extension installed for a while that would highlight colors with their, well, color. It was for css files, but perhaps it wasn’t isolated like it should.

  • http://sergiopereira.com/blog Sergio Pereira

    If this is R# 6, then it’s a publicized feature: http://blogs.jetbrains.com/dotnet/category/resharper-tips-and-tricks/

  • http://sergiopereira.com/blog Sergio Pereira

    As soon as I posted the comment I had that duh moment and thought it could be weird to see a CSS feature leak to C# comments. Maybe it is an Easter Egg after all (or a bug that can be spinned that way) :)

  • http://murrayon.net/ Mike Murray

    The Visual Studio extension that adds this feature is called VSCommands2010:

    http://visualstudiogallery.msdn.microsoft.com/d491911d-97f3-4cf6-87b0-6a2882120acf/

    It’s a feature called color hints.

    Apparently JetBrains has brought the feature to their next version of Resharper, as pointed to by Sergio.

  • http://www.lostechies.com/members/chrismissal/default.aspx Chris Missal

    Thanks for the pointers everybody. Looks like it was a trial of VSCommands2010 which I didn’t even think about. So much for my “golden ticket” idea! :P

  • Neil Mosafi

    It’s a feature. Happens in XAML too.

  • http://www.heartysoft.com ashic

    It’s a feature, not a b…er…easter egg.

  • Julio

    Coderush had this for a few years now.

  • http://equinejointsupplements.blogspot.com mauricio

    I hope it works!