V0.1.2
What's Changed
Modular Architecture
Refactored the entire extension codebase from a monolithic single file into clean, maintainable modules under src/:
src/constants.js: Shared regex patterns, configuration constants, and language definitions.src/detector.js: String detection rules, JSX boundary parsers, and filter patterns.src/git.js: VS Code Git extension integration, status monitoring, and staged change watchers.src/diagnostics.js: Live problem reporting and diagnostic severity management.src/commands.js: Command handlers for re-scanning files and triggering staged-change checks.extension.js: Simplified activation lifecycle coordinator.
Documentation Updates
- Added complete documentation for the
Localization: Run Full Check (git staged)command. - Updated configuration docs to cover
localizationCheck.scriptPathandlocalizationCheck.warnOnStage. - Added architecture and development breakdown to the
README.md.
Key Features
- Real-Time Detection: Highlights unlocalized strings in
.js,.jsx,.ts, and.tsxfiles. - Smart Git Scans: By default scans only modified or dirty working-tree files to keep performance light.
- Staged Changes Warning: Proactively warns developers before committing unlocalized text.
- Zero Runtime Dependencies: Ultra-lightweight with zero extra npm packages.
Installation
Download the attached .vsix asset and install it via the terminal:
code --install-extension localization-check-0.1.2.vsix