Introducing ASPX Edit Helper for Visual Studio
August 3rd, 2007The ASPX Edit Helper is a simple add-in for Visual Studio that supplements the existing auto-complete and provides some simple snippet-like support for ASPX editing.
I prefer to write my ASPX code by hand rather than using the designer in Visual Studio. There are a few frustrating limitations to the auto-complete behaviour in Visual Studio. Most notably, the editor doesn’t automatically put in runat=”server” or an ID attribute when you type in a server control. ASPX Edit Helper does that for you.
Also missing in the ASPX editor is snippet support like we have in VB or C#. If you’re a C# coder, try typing prop or foreach and press Tab twice. ASPX Edit Helper does something similar for ASPX using “short codes” like /lbl and /txt.
So this:
becomes this:
And this:
becomes this:
Downloads and more details are at http://www.ardentdev.com/blog/index.php/aspxedithelper.
There’s an intro video at http://ardentdev.com/blog/aspxedithelper/aspxedithelper.html.
(Hat tip to Brock Allen for inspiring the add-in.)




August 6th, 2007 at 7:20 pm
Great addin! Thanks!
August 9th, 2007 at 1:40 am
Good work. Looks cool. But does it work for normal table(HTML Table and not a dot net control) also
August 9th, 2007 at 10:36 am
@vikram: You can make a short code for an HTML table by editing the XML snippets file.
August 25th, 2007 at 7:10 am
Great plugin!
January 30th, 2010 at 1:06 pm
Brevity is the essence of wit.
This tool rocks with wit.
I am in the office on a weekend dancing in the empty cubes because this tool will shave so much time off my dev I may never be in here again on the weekend.