lyon-smith.org

The Lyon-Smith family web site.
Welcome to lyon-smith.org Sign in | Join | Help
in Search

Browse by Tags

All Tags » .net » visual studio
  • Dynamic Code Generation in .NET

    I recently had the need/desire to dynamically generate some code in .NET.  It's not something you tend to do a lot unless you are creating a compiler, so it was an interesting experience.  In the end it didn't solve my problem, but it was educational none-the-less. First I'll describe the scenario of the problem I was trying to solve ...
    Posted to code-o-rama (Weblog) by john on January 5, 2008
  • VS Macro to insert TODO

    Here's another useful VS macro.  When I write code there are always weird edge cases that I think of while so I like to liberally sprinkle // TODO: comments around.  When you do this though you should always put in your alias and the date.  That way someone who comes across your comment knows who to ask for further details, or ...
    Posted to code-o-rama (Weblog) by john on May 4, 2007
  • VS Macro to Insert GUIDs

    One of the most useful macros I ever wrote in VS was but a single line.  All it does is insert a GUID at the current selection point.  It was so useful I wrote it twice; once to insert lowercase and once to insert uppercase GUIDs.  Here it is:Imports System Imports EnvDTE Imports EnvDTE80 Imports System.Diagnostics Public ...
    Posted to code-o-rama (Weblog) by admin on January 2, 2007
Powered by Community Server, by Telligent Systems