Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>42 Header OneShotNew to Visual Studio Code? Get it now.
42 Header OneShot

42 Header OneShot

nakamo326

|
680 installs
| (0) | Free
add 42 header to all sources in workspace
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

42-header-oneshot

demo.gif

No need to manually add 42 headers to every single file!
With just one command, all your source files will be updated with the header.

Usage

Insert a Header to All Your Source Files

  1. Open the command palette with Ctrl + Shift + P.
  2. Type "Add 42 header to all sources in workspace" and execute the command.
  3. If you have multiple workspaces open, choose the workspace where you want to add the header.

Remove Headers from All Your Source Files

  1. Access the command palette.
  2. Execute "Delete 42 header from all sources in workspace."

Keyboard ShortCut

Insert Header

  • macOS : ⌘ + ⌥ + O
  • Linux / Windows : Ctrl + Alt + O

Delete Header

  • macOS : ⌘ + ⌥ + D
  • Linux / Windows : Ctrl + Alt + D

Currently, this extension targets the following file types: .c, .h, .cpp, and .hpp.

Configurations

By default, the username and email values are imported from environment variables.

To override these values, this extension offers the following settings:

  • 42-header-oneshot.user
  • 42-header-oneshot.mail
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft