If you are using VS2005, you can also go to Tools->Options->Text Editor->File Extension and associate the file extension with the HTML Editor.

This is particularly useful for the Monorail View types [Boo (boo extension) and NVelocity (vm extension)]