asperheader.extensionName |
string |
"AsperHeader" |
Name of the extension being used. |
asperheader.projectCopyright |
string |
"(c) Asperguide" |
Copyright message for the header. |
asperheader.headerOpenerDecorationOpen |
string |
"+==== " |
Opening text for the header frame. |
asperheader.headerOpenerDecorationClose |
string |
" =================+" |
Closing text for the header frame. |
asperheader.headerCommentSpacing |
string |
" " |
Spacing between the comment symbol and the header text. |
asperheader.telegraphBegin |
string |
"BEGIN" |
Text used for header begin marker. |
asperheader.telegraphEnd |
string |
"END" |
Text used for header end marker. |
asperheader.telegraphBlockStop |
string |
"/STOP" |
Marks the end of a header block section. |
asperheader.telegraphEndOfTransmission |
string |
"// AR" |
End-of-transmission marker. |
asperheader.headerAddBlankLineAfterMultiline |
boolean |
false |
Insert a blank line after multiline blocks. |
asperheader.headerKeyDefinitionSeparator |
string |
": " |
Separator between key and value in header. |
asperheader.headerLogoKey |
string |
"LOGO" |
Header key for ASCII logo. |
asperheader.headerProjectKey |
string |
"PROJECT" |
Header key for project name. |
asperheader.headerFileKey |
string |
"FILE" |
Header key for file name. |
asperheader.headerCreationDateKey |
string |
"CREATION DATE" |
Header key for creation date. |
asperheader.headerLastModifiedKey |
string |
"LAST Modified" |
Header key for last modified date. |
asperheader.headerDescriptionKey |
string |
"DESCRIPTION" |
Header key for file description. |
asperheader.headerCopyrightKey |
string |
"COPYRIGHT" |
Header key for copyright. |
asperheader.headerTagKey |
string |
"TAG" |
Header key for tags. |
asperheader.headerPurposeKey |
string |
"PURPOSE" |
Header key for purpose section. |
asperheader.headerTimeSeperatorHour |
string |
":" |
Separator for hours in timestamps. |
asperheader.headerTimeSeperatorMinute |
string |
":" |
Separator for minutes in timestamps. |
asperheader.headerTimeSeperatorSecond |
string |
"" |
Separator for seconds in timestamps. |
asperheader.headerTimeAndDateSeperator |
string |
" " |
Separator between time and date. |
asperheader.headerDateSeperatorDay |
string |
"-" |
Separator for day in dates. |
asperheader.headerDateSeperatorMonth |
string |
"-" |
Separator for month in dates. |
asperheader.headerDateSeperatorYear |
string |
"" |
Separator for year in dates. |
asperheader.headerLogo |
array |
[ASCII logo default] |
Default ASCII logo array. |
asperheader.maxScanLength |
number |
100 |
Maximum lines scanned for existing headers. |
asperheader.enableDebug |
boolean |
true |
Enable debug logging. |
asperheader.refreshOnSave |
boolean |
true |
Automatically refresh header on file save. |
asperheader.promptToCreateIfMissing |
boolean |
true |
Prompt to create header if missing. |
asperheader.randomLogo |
boolean |
false |
Insert a random ASCII logo on each header generation. |
asperheader.extensionIgnore |
array |
[] |
File extensions to ignore when saving. |
asperheader.useWorkspaceNameWhenAvailable |
boolean |
false |
Use the workspace name when available. |
asperheader.projectDescription |
string |
"" |
The description to use instead of asking the user every time. |
asperheader.languagePrepend |
object |
{} |
If set, and language is matched, will put the text specified in the string in front of the comment during the initial generation of the header. example for python: {"python": "r"}, example for bash scripts: {"bash":"#!/usr/bin/env bash\n"} |
asperheader.languageAppend |
object |
{} |
If set, and language is matched, will append the text specified in the string after the comment during the initial generation of the header. Useful for adding formatting or boilerplate. example: {"python": "\n# Code begins"} to add a separator comment after the header |
asperheader.languageSingleLineCommentOverride |
object |
{} |
Specify an override of your choice for the single line comment to be used when it's specified language (name is case insensitive) is matched. example: {"idris":"\|\|\|"} instead of the default '--' |
asperheader.languageMultiLineCommentOverride |
object |
{} |
Specify an override of your choice for the multiline comment to be used when it's specified language (name is case insensitive) is matched. example: {"c":["/*","**","*/"]} |
asperheader.removeTrailingHeaderSpaces |
boolean |
true |
Toggle wether to remove trailing whitespaces from the lines in the header that might contain them due to the generation (i.e: a space after the LOGO: due to there being a newline instead of text) |
asperheader.preferSingleLineComments |
boolean |
false |
Prefer using the single line comments when available for the language instead of the multiline version |