Updated 42-style banner extension for VSCode with Python flake8 norm support (79 characters).
Based on the original 42header by kube, this version adds Python compatibility and modern tooling while delivering a new header look.
- Open VSCode
- Press
Ctrl+P(orCmd+Pon Mac) - Type:
ext install nopons.42next-header - Press Enter
Or search "42Next Header" in the Extensions view (Ctrl+Shift+X).
Set your 42 username and email in VSCode settings:
Option 1: Via Settings UI
- Press
Ctrl+,(orCmd+,on Mac) - Search for "42header"
- Fill in:
- Username: Your 42 login
- Email: Your 42 email
Option 2: Via settings.json
Press Ctrl+Shift+P → "Preferences: Open User Settings (JSON)"
{
"42header.username": "your-login",
"42header.email": "your-login@student.42.fr"
}Keyboard Shortcuts:
- macOS:
Cmd+Alt+H - Linux/Windows:
Ctrl+Alt+H
Command Palette:
- Press
Ctrl+Shift+P(orCmd+Shift+Pon Mac) - Type "Insert 42 header"
- Press Enter
The header automatically updates the "Updated" timestamp and author when you save the file.
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: your-login <your-login@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/27 10:00:00 by your-login #+# #+# */
/* Updated: 2026/01/27 12:00:00 by your-login ### ########.fr */
/* */
/* ************************************************************************** */#!/usr/bin/env python3
# ########################################################################### #
# # #
# # ::: :::::::: #
# # script.py :+: :+: :+: #
# # +:+ +:+ +:+ #
# # By: your-login <your-login@student.42.fr> +#+ +:+ +#+ #
# # +#+#+#+#+#+ +#+ #
# # Created: 2026/01/27 10:00:00 by your-login #+# #+# #
# # Updated: 2026/01/27 12:00:00 by your-login ### ########.fr #
# # #
# ########################################################################### #- Original extension by kube
To build the VSIX package locally:
# Install vsce (if not already installed)
npm install -g @vscode/vsce
# Build the package
vsce packageTo install the generated .vsix file:
code --install-extension 42next-header-x.x.x.vsix- Issues: GitHub Issues
MIT License - see LICENSE for details.