Journal for July 2008

Colour Completion

When I initially wrote the ASP.NET code completion, I added support for completing attribute values for enums and bools. More generalised completion using TypeConverter.GetStandardValues isn't so easy, since I don't want to load arbitrary types into the MD process, so I skipped this for now. However, I did special-case System.Drawing.Color, since it's used a lot.

This morning, on a suggestion from Aaron, I tweaked it to generate custom icons for each colour:

Screenshot of a code completion window showing appropriately coloured icons for each named colour.

In other news, I landed the new ASP.NET completion parser, which is much more robust, and is also able to generate a tree, so it will soon replace the DOM parser too. The new design also means I'll be able to unify it with the XML and Moonlight (XAML) addins.

I recently returned from a family holiday in Maine, and will post photos when I got them sorted out and uploaded to Flickr.

Whales, Beavers and Snakes (Oh My!)

My family is visiting me here in Boston, and over the Independence Day weekend we toured Western Massachusetts for a few days. I captured some interesting photos. Having finally convinced myself to purchase some nice lenses for my SLR, I am particularly pleased with this haul.

Humpback Whale

Boston Harbour

July 4th Procession

Beavers

Garter Snake