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.
2 Answers
Someone else asked this a few days ago: Insert current datetime in Visual Studio Snippet. Looks like you can't do it, but the macro worked for me.
6 Comments
Tom Smykowski
I've corrected my question. Thanks for link. Hope that there will a solution for Express too.
Matt Jamieson
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.
Erich Mirabal
I'm not familiar with the Express version. It doesn't let you have add-ins?
Matt Jamieson
I don't believe so. There's a list of what's missing here: stackoverflow.com/questions/86562/…
Erich Mirabal
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.
|
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.