Skip to content

Sheratan095/42Buddy

Repository files navigation

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

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •