Automatically add specified text to the beginning of files in VS 2008

Is there a way for Visual Studio 2008 to automatically add header information to files? For example, "Copyright 2008" or something like that. I delved into the options, but it seems nothing jumps at me.

+3
source share
2 answers

I assume that you want to change class file templates. They are located in:

%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Code\1033

More specific details here.

+4
source

I found a better solution than modifying the template file directly. This utility allows you to create and save header / footer templates and apply them to all source trees.

C # Header Designer from MSDN Code Gallery

+1

Source: https://habr.com/ru/post/1697640/


All Articles