Clarion Extensions v0.5.8 is now available on the VS Code Marketplace. This release delivers major performance improvements for large Clarion files (14k+ lines).
What’s new
- Tokenization: 10× faster (5800ms → 598ms) via pre-compiled regex, character-class pre-filtering, optimized pattern order, reduced logging, and incremental line caching.
- Symbols: 55× faster (6000ms → 110ms) by removing O(n²) scans and using a line index for O(1) lookups.
- Folding: ~60% faster (10ms → 4ms) with single-pass filtering and pre-filtered region handling.
- Structure View: 20+ sec → <1 sec using top-level parallel expansion and reduced delays.
- UX: Duplicate warning spam fixed; clearer “Language client not initialized” message.
- Diagnostics: Added performance logging (search for “
PERF:” in Output).
Install / Update
- Marketplace: Clarion Extensions on VS Code Marketplace
- Release notes (.vsix inside): GitHub Release v0.5.8
Feedback / Issues
Credits
- Performance work completed in collaboration with GitHub Copilot on 2025-11-17.