Every new file with the same start code

Jon Kane 1 Reputation point
2021-10-21T00:09:03.2+00:00

Is it possible for me to setup a way so that every new c file I create already has some starting code? Because every single file I create I have to retype the same thing, and it'd be much nicer if it were already written when I open the file.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 40,771 Reputation points
    2021-10-21T00:23:20.69+00:00

    You can create your own item template to add a C file that contains your preferred skeleton code to a project. Refer to how-to-create-item-templates

    0 comments No comments