To do this, there is an extension called a comment to the file header .
Installation
Open the command palette by pressing F1 , type ext install , then press Enter and find the extension of the comment to the file header .
configuration
By default, you do not need to install anything. It will detect most programming languages ββfor the corresponding comment syntax. But if you want, you can set your own templates in Preferences - User Settings . Please refer to the extension documentation for more information.
Hope this helps !!
source share