|
Asper Header
1.0.22
The header injector extension
|
Comprehensive comment and header generation system for AsperHeader extension. More...
Go to the source code of this file.
Data Structures | |
| class | CommentGenerator |
| Intelligent file header generation and management system. More... | |
Variables | |
| import *as vscode from | vscode |
| import { minimatch } from 'minimatch' | |
| multiLine | __pad0__ |
| Array of multi-line comment delimiters [opener, middle, closer] (e.g., ["/*", " *", " *\/"]) | |
| prompt_comment_opening_type | __pad1__ |
| Whether to prompt user for comment type selection when multiple options exist. | |
| language | __pad2__ |
| Wether the language was identified or not. | |
Comprehensive comment and header generation system for AsperHeader extension.
This module serves as the core engine for generating, injecting, and managing file headers with customizable logos, project metadata, and timestamp tracking. It provides intelligent comment style detection, multi-language support, and seamless integration with the VS Code workspace environment.
Architecture Overview:
processConfiguration systemKey Dependencies:
LazyFileLoader: Lazy loading of language configuration filesRandomLogo: ASCII art logo selection and managementQuery: User interaction and input validationlogger: Comprehensive logging and error reportingCodeConfig: Extension configuration and workspace settingsSupported Features:
headerLogoVersions, useHeaderLogoVersion, headerLogoVersionReference) Definition in file commentGenerator.ts.
| multiLine __pad0__ |
Array of multi-line comment delimiters [opener, middle, closer] (e.g., ["/*", " *", " *\/"])
Definition at line 80 of file commentGenerator.ts.
| prompt_comment_opening_type __pad1__ |
Whether to prompt user for comment type selection when multiple options exist.
Definition at line 82 of file commentGenerator.ts.
| language __pad2__ |
Wether the language was identified or not.
Definition at line 84 of file commentGenerator.ts.
| import { minimatch } from 'minimatch' |
Definition at line 61 of file commentGenerator.ts.
| import* as vscode from vscode |
Definition at line 60 of file commentGenerator.ts.