I want to enter the current date with VisualStudio code snippet

Asked 2 years ago, Updated 2 years ago, 130 views

As per the title, I would like to enter the current date with VisualStudio code snippet. Is there a way to do this?

For example, I want to insert a line like ↓ into a snippet statement.

Example)//10/13/2016 auther:dada

I am using VisualStudio 2013 and 2015.
Please let me know if anyone knows.Thank you for your cooperation.

visual-studio

2022-09-30 21:20

1 Answers

Supported functions are

during code snippets from Visual Studio 2005 to 2015.
  • GenerateSwitchCases-switch-case statement
  • ClassName - Current type name
  • SimpleTypeName - Omit Specific Type Names

I don't think it's possible because there are 3 of them.


2022-09-30 21:20

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.