Reputation: 11
I want Visual Studio to automatically add project details like: author, date and time when project was created into comment on top of the main code between 'using' stuff and 'namespace'. I looked hard for this but i didn't find anything intresting. I'm using Visual Studio 2017 Community Edition. When i do changes to Class.cs file it doesn't appear in VS. Thanks for any help :)
using System.Threading;
using System.Text; //And so on
/*There i want my details
Author: Matias
Date: 11.03.2018 - 2am
*/
namespace MyNamespace
//Code below
I want to get this added automatically
Upvotes: 0
Views: 134
Reputation: 11
Nevermind, got solution! I just had to type
/**
* Author: $username$
* Date: $time$
*/
in my code and then export the template by Project -> Export template
Upvotes: 1