|
Asper Header
1.0.14
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. | |
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:
Integration Points: This module integrates with the extension's save event handlers, workspace configuration system, and user interface components to provide seamless header management throughout the development workflow.
Definition in file commentGenerator.ts.
| multiLine __pad0__ |
Array of multi-line comment delimiters [opener, middle, closer] (e.g., ["/*", " *", " *\/"])
Definition at line 79 of file commentGenerator.ts.
| prompt_comment_opening_type __pad1__ |
Whether to prompt user for comment type selection when multiple options exist.
Definition at line 81 of file commentGenerator.ts.
| import { minimatch } from 'minimatch' |
Definition at line 60 of file commentGenerator.ts.
| import* as vscode from vscode |
Definition at line 59 of file commentGenerator.ts.