Commit Graph

7 Commits

Author SHA1 Message Date
Misaka_Company
585a9ed7f3 refactor: use VBA-Excel/VBA-Access as default output dirs by file type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-11 10:01:37 +08:00
Misaka_Company
d156fdb2d8 fix: address code review issues for Access support
- Fix import_vba_access() to actually save database via DoCmd.Save()
- Update stale module docstring in extract_vba.py
- Validate file extensions in get_file_type() instead of silently
  defaulting to excel
- Scan both Excel/ and Access/ directories in interactive mode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-11 09:44:55 +08:00
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
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
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
c80e03e1ea add import_vba.py for VBA code import tool with path recognition and encoding fixes 2026-01-19 17:06:15 +08:00