I would like to add to my c# Visual C# Express (no macros) snippet current date and time tag. How to do it? When I will use intellisense to create code with this snippet I would like to have current date and time put into code.
+1
A:
Someone else asked this a few days ago: http://stackoverflow.com/questions/1029189/insert-current-datetime-in-visual-studio-snippet. Looks like you can't do it, but the macro worked for me.
Matt Jamieson
2009-07-20 15:08:21
I've corrected my question. Thanks for link. Hope that there will a solution for Express too.
tomaszs
2009-07-20 15:10:54
I suspect the only way will be some kind of add-in (ReSharper's Live Templates let you do this), but that's out for Visual C# Express too.
Matt Jamieson
2009-07-20 15:27:46
I'm not familiar with the Express version. It doesn't let you have add-ins?
Erich Mirabal
2009-07-20 15:33:53
I don't believe so. There's a list of what's missing here: http://stackoverflow.com/questions/86562/what-is-missing-in-the-visual-studio-express-editions
Matt Jamieson
2009-07-20 15:44:37
That's a shame. I wrote an add-in that does that (dynamic timestamp) and it is a shame that it wouldn't help them.
Erich Mirabal
2009-07-20 15:48:32
Thanks Erich, but unfortunately Express does not support plugins
tomaszs
2009-07-21 10:16:40
A:
Nothing to do here. This is list of all tree functions that is supported.
Long time ago I saw simple tools that can send key strokes to the active window. Probaly this could work for you.
Mike Chaliy
2009-07-20 15:23:07