can I highlight code blocks in ASP.NET pages?

Is it possible to highlight the C# code blocks embedded within ASP.NET pages?

Specifically I am thinking about using a different background colour for the C# code between the <% and %>, maybe a nice pale yellow colour.
I don't think this is possible with VisualStudio 2005, is it possible with Resharper 2? I only want to do this for the code embedded within the ASP.NET editor, not for normal C# code.

This will help quickly identify the code regions within the file, and also highlight areas where the code region has not been correctly terminated.

Cheers,
Nicko

0

Please sign in to leave a comment.