Skip to content

Etheram68/Header101-Vscode

Repository files navigation

42 Lyon/Paris Header for VSCode

This extension provides the 42 Lyon / Paris header integration in VS Code.

# **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    test                                               :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: frfrey <frfrey@student.42lyon.fr>          +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2020/10/01 14:57:06 by frfrey            #+#    #+#              #
#    Updated: 2020/10/01 14:57:07 by frfrey           ###   ########lyon.fr    #
#                                                                              #
# **************************************************************************** #

Install

Launch Quick Open with +P and enter

ext install 101header2019

Usage

Insert a header

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

Header is automatically updated on save.

Configuration

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

Default values for header is 42 Lyon you can modify in setting use "42header.version":

Don't forget reload vs_code after change params

  {
    Lyon 101 :
          101
    Paris:
          paris, Paris, PARIS, 42paris, 42Paris, 42PARIS, 42 Paris, 42 paris, 42 PARIS
    Default:
          42 Lyon
  }

After change

macOS : +P and enter '>Developer: Reload Window' Linux / Windows : Ctrl+P and enter '>Developer: Reload Window'

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

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

Issues

To report a bug or ask for a feature, please open a Github issue.

Release Notes

0.3.4

Update Header delimiter for language ASM

0.3.1 / 0.3.3

Update Security And modify Readme.md and modify Name of setting Le 101 is now 42 Lyon

0.3.0

Update Security

0.2.7 / 0.2.9

Remove Message

0.2.6

Modify Mail user for 42 Lyon

0.2.5

New header of Lyon is now a default Header, you can use header 101 with a "101" in setting

0.2.4

Add message warning restart with '>Developer: Reload Window' after change setting version.

0.2.2 / 0.2.3

You can choose your header version in Setting extension Version Add header for Paris and New header for Lyon You can choice header Add new skin for header 42

0.2.1

Prepare Add new Header for 42 Add new message

0.1.3 / 0.1.4

Add language html, modify header for php

0.1.2

Add support for ASM language

0.1.1

Add support for language C#

0.1.0

Initial release of Header VsCode

License

MIT

It's a fork from this repo https://github.com/kube/vscode-42header, real author is kube)