SyntaxLens is a lightweight Visual Studio Code extension for real-time syntax analysis, code structure validation, and automated formatting normalization across modern web projects (.vue, .ts, .js, .json, .sql, .html, .css, .yml).
Features
Structure Validation (SyntaxLens: Validate Structure): Compares the active file against project structure baselines and reports mismatches directly in the Problems panel.
Code Normalization (SyntaxLens: Normalize): Detects missing or unaligned structural blocks and normalizes them cleanly.
Diagnostics Management (SyntaxLens: Clear Diagnostics): Quickly clear all active SyntaxLens warnings from the workspace.
Configurable Analysis Speed: Adjust processing speed dynamically via Command Palette or keybindings.
Supported Languages
Vue (.vue)
TypeScript & JavaScript (.ts, .js)
JSON, YAML, SQL, HTML, CSS
Extension Settings
This extension contributes the following setting:
myext.typingSpeed: Analysis processing speed multiplier (0.25 to 10.0, default 1.0).
Release Notes
0.0.2
Improved structure normalization accuracy and cursor-aware placement.
Added keyboard shortcuts for validation, normalization, and diagnostics cleanup.