Solution Specific Icon Overlay Extension

Today's Visual Studio extension from Andrey Shchekin is, as I like to find and share, something different and one that I've not seen before. At first glimpse it looks simple, but there's some interesting things in the code. And it's just kind of cool...

Solution Icon

image

SolutionIcon is an extension that adds solution-related overlay icon to VS taskbar button.

You can find the source code at https://github.com/ashmind/SolutionIcon.

...

ashmind/SolutionIcon

SolutionIcon is an extension that adds solution-related overlay icon to VS taskbar button.

Use case

I often have multiple Visual Studio instances open.
I never combine taskbar buttons as it makes switching inefficient -- however this means that I do not get previews either.

This extension allows to quickly distinguish VS buttons with a glance.

Icon logic

The solution icon is chosen as following:

  1. First choice: .editoricon.png (or .ico, .gif, etc) under solution root.
    This is inspired by .editorconfig, however I am not aware of anyone using .editoricon before.

  2. Second choice: certain images within the projects.
    This is very limited at the moment, but e.g. favicon.ico might be recognized.

  3. Third choice: if no applicable icon is found in solution, a new icon is generated.
    The algorithm uses one or two letters from the solution name, and a color based on solution path.

Requirements

Supports Visual Studio 2010 - 2013.

This extension works just as advertised... Here's it running on my system (because I have to play with everything I blog about of course! You should see my extension list... lol)

First run here's the icon on my taskbar...

image

... from this project

image

Now, to use my own icon...

image

... and restarting.

image 

:)



Tags:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
    Unsubscribing
    Subscribing

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.