Text Analysis
by Miha Kralj
Trending
favorite
share
31
2,930
Description

Real-time text analysis on readability, structure, and complexity, incorporating over 30 indicators.

Latest Version
a day ago
Changelog

Code Improvements

  • Enhanced TypeScript type safety by removing all any types
  • Added proper interfaces and type annotations throughout the codebase
  • Improved error handling with try-catch blocks
  • Added null checks and optional chaining for better reliability

Performance Optimizations

  • Cached regex patterns to avoid recreation
  • Reduced duplicate text matching operations
  • Optimized string manipulation in time calculations
  • Added debounced updates for text changes

Architecture Improvements

  • Split large methods into smaller, focused functions
  • Extracted utility functions into TextUtils class
  • Improved encapsulation with private fields
  • Enhanced settings initialization
  • Added proper getter methods for metrics

UI Improvements

  • Reduced font size in analysis panel for better compactness
  • Maintained readability while showing more content
  • Improved table cell styling

Bug Fixes

  • Fixed TypeScript compiler errors
  • Improved regex pattern handling
  • Enhanced error handling in metric calculations

[1.1.0] - Initial Release

  • Initial version of Text Analysis plugin
  • Real-time text analysis features
  • Multiple readability metrics
  • Reading and speaking time calculations
README file from