Copyright Notice Code Snippet

Are you tired of copy/pasting Copyright notice from one file to another? It requires you to context switch to another file, select and copy the notice, come back to the desired file and paste it. I have built a code snippet that can add the copyright notice to your file with a few keystrokes. Effectively it makes that “legal” task easier and more productive for the developers.

This post explains how to do one time set up and how to use it later with ease.

One time setup


  • When the dialog comes up
    • Select CSharp language
    • Click the Import button


      • Choose the file that you saved in Step
      • The remaining steps are self-explanatory.

You are done with the one time set up.

How to use it

In your .cs file:

        • Type #cp


      • Tab twice. And the notice will appear.


If the notice is not formatted to your satisfaction, you can make changes to the snippet file that you created in the setup and import it again.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s