Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Header BuilderNew to Visual Studio Code? Get it now.
Header Builder

Header Builder

Alpha_1337k

|
370 installs
| (1) | Free
Vscode custom header extension
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Header Builder

Create and update headers quickly

Want your own dynamic headers on your projects, but cant be arsed to do much work? Fear no more! By setting up a simple config file you will be up in no time!

How to use

  • Mac: ⌘ + ⌥ + H
  • Linux: Ctrl + Alt + H

Commands

  • Header Builder: Create headers in all files.

Config file

Sample file can be found in the sample directory

There is only one reserved keyword: $FILE. This will give the path of the file.

Create a new file called .header in the root of your scope. Variables are defined in the $NAME=command manner. The command part will be executed just like in the shell.

You can quickly add padding using $NAME(padding:x)=command. At the end of the config file, write === followed by a newline. The rest will be used as banner. $NAME will be resolved to the command listed above. If needed you can add p characters at the end for visual padding.

If you wish to disable on save changes, you can add the !RunOnSave 0 setting to the header.

Links

GitHub

VSCode Marketplace

Bugs and such

Please make a pull request or issue on my repository. Thanks!

License

MIT

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft