auto-header-est2023.enabled |
boolean |
true |
Enable or disable the Auto Header extension. |
auto-header-est2023.autoHeader |
boolean |
false |
Automatically insert headers into new files of supported languages. |
auto-header-est2023.autoGenerateFilePath |
boolean |
false |
Automatically generate and insert the file's relative path as a comment. |
auto-header-est2023.commentType |
string |
multiline |
Preferred comment style (singleline or multiline). |
auto-header-est2023.author |
string |
"" |
Author's name. Replaces the {author} placeholder. |
auto-header-est2023.company |
string |
"" |
Company's name. Replaces the {company} placeholder. |
auto-header-est2023.date |
string |
{timestamp} |
Set to timestamp for the current date. Replaces the {date} placeholder. |
auto-header-est2023.line1 |
string |
Author: {author} |
First header line. Placeholders: {author}, {date}, {company}. Leave blank to skip. |
auto-header-est2023.line2 |
string |
Created: {date} |
Second header line. Placeholders: {author}, {date}, {company}. Leave blank to skip. |
auto-header-est2023.line3 |
string |
(c) Copyright by {company} |
Third header line. Placeholders: {author}, {date}, {company}. Leave blank to skip. |
auto-header-est2023.customCommentSyntax |
object |
{} |
Custom comment syntax for specific languages. Example: {"mylang": {"single": "##", "multiStart": "/**", "multiEnd": "**/"}}. |
auto-header-est2023.ignoredPaths |
array |
[".next", "node_modules"] |
List of file paths or directories to ignore when adding headers. Example: [".next", "node_modules"]. |
auto-header-est2023.license |
string |
MIT |
Select the license for the file. Options: MIT, GPL-3.0, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MPL-2.0, LGPL-3.0, Unlicense, EPL-2.0. |
auto-header-est2023.githubLink |
string |
"" |
GitHub repository link. |
auto-header-est2023.customHeaderTemplate |
string |
{single} {author}\n{single} {date}\n{single} {company}\n{single} {license}\n{single} {githubLink}\n{single} {line1}\n{single} {line2}\n{single} {line3}\n |
Template for the custom header. Use placeholders: {single}, {multiStart}, {multiEnd}, {author}, {date}, {company}, {license}, {githubLink}, {line1}, {line2}, {line3}. |
auto-header-est2023.headerLayout |
array |
["author", "date", "company", "license", "githubLink"] |
Customize the order and layout of the header sections. Example: ["author", "date", "company", "license", "githubLink"]. |