Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert datetime.now via code snippet comment block
Message
 
À
16/04/2008 12:13:18
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
Divers
Thread ID:
01311174
Message ID:
01311255
Vues:
23
>I am having fun with the VB code snippet editor. i want to be able to insert a comment block with my initials and current datetime and don't seem to have the magic formula. Have this in CEE but trying to figure it out in VB
>
>'CRH: Wednesday 03/16/08
>' Insert comment here
>'

I could be wrong, but I don't think code snippets support this kind of thing - you'd have to do this as a macro (at least, that's my foggy memory of things since I wanted to do something very similar).

I ended up using Coderush/Refactor! from DevExpress and writing a very simple plug-in for it. Actually Coderush can be downloaded for free (just without all of the extras). If you decide to go this route, let me know. You're welcome to this code/plug in.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform