Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>42 Belgium HeaderNew to Visual Studio Code? Get it now.
42 Belgium Header

42 Belgium Header

nicopasla

| (0) | Free
42 Belgium header for VSCode : https://42belgium.be/
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

42 Belgium Logo

42 Belgium Header for VSCode

This extension provides the 42 header integration in VS Code.

# ************************************************************************** #
#                                                                            #
#                                                        :::      ::::::::   #
#   vscode-42header                                    :+:      :+:    :+:   #
#                                                    +:+ +:+         +:+     #
#   By: kube <hello@kube.io>                       +#+  +:+       +#+        #
#                                                +#+#+#+#+#+   +#+           #
#   Created: 2013/11/18 13:37:42 by kube              #+#    #+#             #
#   Updated: 2026/03/13 10:23:51 by nicopasla        ###   #######belgium.be #
#                                                                            #
# ************************************************************************** #

Install

Launch Quick Open with ⌘+P and enter

ext install 42belgiumheader

OR

Install it from the VSCode Marketplace

Usage

Insert a header

  • macOS : ⌘ + ⌥ + H
  • Linux / Windows : Ctrl + Alt + H.

Header is automatically updated on save.

Auto-insert

To automatically insert a header when a new empty supported file is created, enable it in User Settings:

{
  "42header.autoInsert": true
}

Status bar

When a supported file is open, the current header author is shown in the status bar. Clicking it inserts or updates the header.

Configuration

Default values for username and email are imported from environment variables.

To override these values, specify these properties in User Settings :

{
  "42header.username": string,
  "42header.email": string
}

Build from Source

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Package the extension
vsce package

# Install in VSCode
code --install-extension 42belgiumheader-1.0.0.vsix

Issues

In case of a bug or missing feature, please open a GitHub Issue or submit a Pull Request.

Credits

Originally created by kube — modernized for 42 Belgium by nicopasla.

License

MIT

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