kube / vscode-42header

42 header for VSCode
https://www.42.fr
MIT License
41 stars 38 forks source link

first line after header auto-deletes #29

Open Mfficiency opened 2 years ago

Mfficiency commented 2 years ago

When you start typing under the header and you hit enter the text disappears.

Expected behaviour: you can write what you want without the header interfering.

CarloCattano commented 1 year ago

Same thing when saving here

CarloCattano commented 1 year ago

It might be corrected deleting the extra space here https://github.com/kube/vscode-42header/blob/92fe9061a2c7a6892c40af4630b82149ef0166bc/src/header.ts#L39

CarloCattano commented 1 year ago

@kube , could you fix this? I tried but never dealt with typescript extensions before. It should be an easy fix , maybe someone else could point me to a good introduction on how to compile it ?