120 private headerAddBlankLineAfterMultiline:
boolean = CONST.headerAddBlankLineAfterMultiline;
162 private headerLogo:
string[] = CONST.defaultHeaderLogo;
164 private maxScanLength: number = CONST.defaultMaxScanLength;
174 private randomLogo:
boolean = CONST.randomLogo;
181 private workspaceName:
string | undefined = undefined;
208 async refreshVariables(): Promise<void> {
209 const config =
vscode.workspace.getConfiguration(CONST.moduleName);
211 this.
extensionName = config.get<
string>(
"extensionName", CONST.extensionName);
212 this.
projectCopyright = config.get<
string>(
"projectCopyright", CONST.projectCopyright);
215 this.
headerCommentSpacing = config.get<
string>(
"headerCommentSpacing", CONST.headerCommentSpacing);
216 this.
telegraphBegin = config.get<
string>(
"telegraphBegin", CONST.telegraphBegin);
217 this.
telegraphEnd = config.get<
string>(
"telegraphEnd", CONST.telegraphEnd);
218 this.
telegraphBlockStop = config.get<
string>(
"telegraphBlockStop", CONST.telegraphBlockStop);
220 this.headerAddBlankLineAfterMultiline = config.get<
boolean>(
"headerAddBlankLineAfterMultiline", CONST.headerAddBlankLineAfterMultiline);
222 this.
headerLogoKey = config.get<
string>(
"headerLogoKey", CONST.headerLogoKey);
223 this.
headerProjectKey = config.get<
string>(
"headerProjectKey", CONST.headerProjectKey);
224 this.
headerFileKey = config.get<
string>(
"headerFileKey", CONST.headerFileKey);
225 this.
headerCreationDateKey = config.get<
string>(
"headerCreationDateKey", CONST.headerCreationDateKey);
226 this.
headerLastModifiedKey = config.get<
string>(
"headerLastModifiedKey", CONST.headerLastModifiedKey);
227 this.
headerDescriptionKey = config.get<
string>(
"headerDescriptionKey", CONST.headerDescriptionKey);
228 this.
headerCopyrightKey = config.get<
string>(
"headerCopyrightKey", CONST.headerCopyrightKey);
229 this.
headerTagKey = config.get<
string>(
"headerTagKey", CONST.headerTagKey);
230 this.
headerPurposeKey = config.get<
string>(
"headerPurposeKey", CONST.headerPurposeKey);
238 this.headerLogo = config.get<
string[]>(
"headerLogo", CONST.defaultHeaderLogo);
239 this.maxScanLength = config.get<number>(
"maxScanLength", CONST.defaultMaxScanLength);
240 this.
enableDebug = config.get<
boolean>(
"enableDebug", CONST.enableDebug);
241 this.
refreshOnSave = config.get<
boolean>(
"refreshOnSave", CONST.refreshOnSave);
243 this.
randomLogo = config.get<
boolean>(
"randomLogo", CONST.randomLogo);
244 this.
extensionIgnore = config.get<
string[]>(
"extensionIgnore", CONST.extensionIgnore);
246 this.
projectDescription = config.get<
string>(
"projectDescription", CONST.projectDescription);
270 return (
this as any)[key] ?? (CONST as any)[key];
282 setWorkspaceName(workpaceName:
string | undefined = undefined):
void {
283 this.workspaceName = workpaceName;
294 getWorkspaceName():
string | undefined {
295 return this.workspaceName;