Skip to content

v0.3.2 - Auto-Refresh for New Content

Choose a tag to compare

@cursor cursor released this 06 Aug 10:53
· 2 commits to main since this release

πŸ†• New Features

  • Auto-refresh for new content: The extension now automatically detects and highlights new content added to files
  • Configurable refresh interval: Set the auto-refresh interval via crayons.configuration.autoRefreshInterval (default: 1000ms)
  • Disable auto-refresh: Set the interval to 0 to disable automatic refreshing
  • Dynamic configuration updates: Changes to the refresh interval take effect immediately

πŸ”§ Improvements

  • Proper cleanup of timers when documents are closed
  • Better resource management when extension is deactivated
  • Automatic timer restart when switching between editors

βš™οΈ Configuration

Add this to your VS Code settings to customize the auto-refresh interval:

{
  "crayons.configuration.autoRefreshInterval": 1000
}
  • Set to 0 to disable auto-refresh
  • Minimum: 100ms
  • Maximum: 10000ms (10 seconds)

πŸ“¦ Installation

Download the .vsix file from the Assets section and install it in VS Code using:

code --install-extension crayons-0.3.2.vsix