3

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 2

5

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.

Sign up to request clarification or add additional context in comments.

6 Comments

I've corrected my question. Thanks for link. Hope that there will a solution for Express too.
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.
I'm not familiar with the Express version. It doesn't let you have add-ins?
I don't believe so. There's a list of what's missing here: stackoverflow.com/questions/86562/…
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.
|
0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.