Misaka_Company
788a8fd9e7
feat: add Access (.accdb) import support to import_vba.py
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:34:57 +08:00
Misaka_Company
ab01835b06
refactor: export form modules as .frm files to align with VBA conventions
...
Change form module export from .cls to .frm extension to match standard VBA file conventions and align with import_vba.py expectations. This eliminates ambiguity between class modules and form modules.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-19 15:47:57 +08:00
Misaka_Company
7b27e50573
refactor: remove metadata dependency in import_vba.py for simplified VBA import workflow
...
- Remove vba_metadata.json dependency
- Add direct VBA directory scanning with _scan_modules() method
- Read target file and output directory from .env configuration
- Simplify import process: specify file and directory instead of metadata file
- Update version to 4.0 (configuration-based approach)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-03 12:56:34 +08:00
Misaka_Company
59f0ef2125
refactor: remove metadata generation and add configurable output directory
...
- Remove vba_metadata.json generation logic to simplify extraction process
- Add VBA_OUTPUT_DIR configuration to allow custom output path
- Update output directory priority: parameter > env var > source file directory
- Clean up unused imports and remove _save_metadata method
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-03 12:47:54 +08:00
Misaka_Company
3569c76e53
fix: skip empty VBA modules during extraction to avoid creating unnecessary files
...
- Add check in _process_module() to detect modules with no actual code content
- Display skip message for empty modules instead of creating files
- Prevent empty modules from being added to metadata
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-28 11:24:01 +08:00
Misaka_Company
69b92884a1
refactor: migrate configuration to .env file for better environment management
...
- Replace hardcoded file paths with environment variables in extract_vba.py and import_vba.py
- Add .env file for local configuration (excluded from git via .gitignore)
- Add python-dotenv dependency for environment variable loading
- Maintain fallback to interactive mode when environment variables are not set
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-28 11:20:50 +08:00
Misaka_Company
d8e843001b
add: enhance metadata file handling in import_vba.py for improved path configuration and error messages
2026-01-20 08:41:34 +08:00
Misaka_Company
5bc1dbc3f5
add: enhance TARGET_XLSM_FILE configuration and improve file selection process in extract_vba.py
2026-01-20 08:38:19 +08:00
Misaka_Company
4b8ba2d144
add: create CLAUDE.md for project documentation and guidance on VBA code extraction and management
2026-01-19 17:39:00 +08:00
Misaka_Company
33ae440f6e
fix: improve line handling in VBA code extraction to avoid extra blank lines
2026-01-19 17:31:07 +08:00
Misaka_Company
c80e03e1ea
add import_vba.py for VBA code import tool with path recognition and encoding fixes
2026-01-19 17:06:15 +08:00
Misaka_Company
7d1d41eb66
add settings.json to associate .cls files with Visual Basic syntax highlighting
2026-01-19 16:19:02 +08:00
Misaka_Company
75c90937fa
add extract_vba.py for VBA code extraction and update requirements.txt
2026-01-19 16:13:52 +08:00
Misaka_Company
8f3d015ed2
add .gitignore to exclude build artifacts and temporary files
2026-01-19 15:46:54 +08:00
Misaka_Company
f40c2f01fc
add initial implementation of main.py
2026-01-19 15:42:24 +08:00