Meaningful Comments with Memeful Comments

This post has been republished via RSS; it originally appeared at: Channel 9.

Comments, love or hate them, sometimes you just need them. Yet type, type, type, sometimes words just won't do.

Marius Bancila felt the same way and so created this Visual Studio extension...

Memeful Comments

It's said that a picture is worth a thousand words. An animated GIF is probably worth even more. This Visual Studio extension enables displaying images, including animated GIFs, alongside your code to enhance explanations with visuals or simply to express your reaction to the code. You can easily show your co-workers, with only a comment line, how you facepalmed yourself when you saw what they checked in recently.

The supported languages are C#, C, C++, F#, VB.NET, JavaScript, and TypeScript.

To display an image, either from the web or your local disk, include a <image> tag in the source code comments. Use the url or src attribute to specify its location and optionally scale to indicate a scaling factor.

image

Want to see more? Check out Marius' blog post, Memeful comments extension for Visual Studio



Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.