views:

729

answers:

2

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
I've corrected my question. Thanks for link. Hope that there will a solution for Express too.
tomaszs
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
I'm not familiar with the Express version. It doesn't let you have add-ins?
Erich Mirabal
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
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
Thanks Erich, but unfortunately Express does not support plugins
tomaszs
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