The Custom Selected Word Count plugin adds precise and flexible word counting for selected text across all editing modes. It goes far beyond the default functionality by allowing users to exclude specific file paths, file types, and even URL-like strings from counts. Advanced users can define their own regex patterns for detecting words, with an interactive test area to validate and refine these patterns. It also logs word count history with timestamps, making it useful for writing sessions or progress tracking. The detailed settings give fine control over behaviour, from path exclusion rules to UI preferences, making it highly customisable for both casual users and power users alike.
Release v1.1.0 - Enhanced Settings & Debug Tools
🆕 New Features
Debug Log Export
- Export comprehensive debug logs with timestamp in ocswcp-logs-YYYYMMDD-HHMMSS.json format
- Includes plugin settings, system information, and Obsidian version details
- Only visible when debug logging is enabled for a cleaner interface
Complete Advanced Regex Implementation
- Fixed previously broken advanced regex functionality
- Interactive regex input field with live validation
- Test area to preview regex matches with sample text
- "Reset to Default" button for easy experimentation
- Real-time error display with user-friendly messages
🎨 UI/UX Improvements
Streamlined Settings Interface
- Cleaner, more professional settings layout
- Better visual hierarchy and reduced clutter
Enhanced User Experience
- Fixed red warning box appearing when no errors exist
- Conditional visibility for debug features
- Improved visual feedback throughout the interface
🔧 Technical Improvements
- Fixed TypeScript compilation errors and improved type safety
- Better error handling for regex validation
- Enhanced code organization and maintainability
Full Changelog: https://github.com/banisterious/obsidian-custom-selected-word-count/compare/v1.0.1…v1.1.0