Skip to content

v1.1.0

Choose a tag to compare

@hepter hepter released this 31 Jul 20:42
· 7 commits to main since this release

🚀 Major New Features:

Bulk Translation Editor

  • WebView-based bulk editing interface for multiple translation keys
  • Support for editing translations across all language files simultaneously
  • Visual grid layout with VS Code theme integration
  • Real-time validation with empty field highlighting
  • Custom confirmation modal for bulk delete operations (WebView sandbox compatible)
  • Source file tracking - shows which file triggered the bulk edit
  • Comprehensive file information display (source file + target resource files)

Enhanced Hover Provider

  • Added Edit/Add/Delete action links in hover popups
  • Smart link generation based on existing vs missing translations
  • Bulk edit trigger links for documents with multiple translation keys
  • Improved hover information with translation status indicators
  • Command-based navigation with proper parameter encoding

Improved Delete Functionality

  • Switched from line-based to JSON-safe deletion preventing trailing comma issues
  • Proper JSON parsing and formatting preservation
  • Enhanced error handling and user feedback
  • Confirmation dialogs for destructive operations

🔧 Infrastructure Improvements:

Enhanced Logging System

  • Comprehensive error tracking with emoji indicators
  • Detailed operation logging with timestamps
  • Critical error notifications with output panel integration
  • Stack trace capture for debugging

Better Error Handling

  • Try-catch blocks throughout all providers and actions
  • Graceful degradation on errors
  • User-friendly error messages with detailed logging
  • Input validation and edge case handling

Code Quality & Performance

  • Added proper TypeScript interfaces for bulk edit data
  • Improved regex pattern handling and configuration
  • Enhanced file monitoring and change detection
  • Better resource management and cleanup

🎨 UI/UX Enhancements:

WebView Interface

  • Responsive grid layout with proper column sizing
  • VS Code theme variable integration for consistent styling
  • Interactive form elements with real-time feedback
  • Keyboard navigation support and accessibility improvements

Visual Indicators

  • Color-coded translation status (missing, partial, complete)
  • File source information display
  • Statistics dashboard showing key/language counts
  • Progress indicators for bulk operations

⚙️ Configuration Updates:

Extended Language Support

  • Added React file support (JSX/TSX)
  • Enhanced regex pattern for better translation key detection
  • Improved glob pattern matching for resource files
  • Better configuration descriptions and examples

🐛 Bug Fixes:

  • Fixed JSON trailing comma corruption during deletions
  • Resolved WebView modal restrictions with custom dialog implementation
  • Improved resource file parsing error handling
  • Better handling of missing or malformed translation files
  • Fixed regex matching issues with complex translation patterns

📝 Developer Experience:

  • Enhanced debugging with comprehensive logging
  • Better error reporting and diagnostics
  • Improved development workflow with proper TypeScript types
  • Streamlined command registration and parameter handling

This release significantly enhances the translation management experience with professional-grade bulk editing capabilities while maintaining backward compatibility and improving overall extension reliability.