Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>42BuddyNew to Visual Studio Code? Get it now.
42Buddy

42Buddy

Sheratan

|
83 installs
| (2) | Free
A vscode extension to help all 42 students during their path in the school
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

42 BUDDY

A vscode extension to help all 42 students during their path in the school

Vs code marketplace link: Sheratan.42buddy

GitHub profile: Sheratan095

42 intra profile: Maceccar


Configuration

To configure the extension, access the configuration panel in the sidebar. You can set your username, email, and choose which file types should have headers automatically placed.


Features

  • Header placer
  • Count lines

Header placer

This feature inserts a 42 header in .c, .h, .cpp, and .hpp files.

You can chose to don't place 42 header in .cpp and .hpp files from the settings

It can be activated by:

  • Buttons in sidebar menù
  • ctrl + shift + h : Inserts the header only in the currently open file
  • ctrl + h : Inserts the header recursively in all files within the first folder of the workspace.

Note: The Updated timestamp in the header reflects the time when the header was last placed and not when the code has been modified last time.


/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   prova.c                                            :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: marvin <marvin@student.42firenze.it>       +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2024/04/09 11:28:30 by marvin            #+#    #+#             */
/*   Updated: 2024/04/09 11:36:17 by marvin           ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

Count lines

This feature analyzes the source code to identify all function definitions and calculates the number of lines each function occupies.

void	42(void)
{

	printf("42\n");

}
――― 3 FUNCTION LINES ―――

If there is no line after the closing bracket, the message will be placed on the last available line.

void	42(void)
{

	printf("42\n");

}――― 3 FUNCTION LINES ―――

TABLE OF CONTENT

  • 42 BUDDY
    • Configuration
    • Features
      • Header placer
      • Count lines
    • TABLE OF CONTENT
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft