You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: XAML language server latency is high on large projects and files #362
Project-aware Ready takes about 28 to 31 s on a built 3-project solution.
Find References / Rename on an app-level resource key rescans every XAML file on every request (7.7 s on a 306-file app) and blocks hover and completion meanwhile.
On 20k-line pages, completion, definition, hover and references exceed latency budgets.
Semantic diagnostics after an edit grow linearly with file size (5,000 lines: 5.4 s; 20,000+ lines: over 20 s).
Requests are strictly serial: $/cancelRequest is ignored, and every keystroke runs an undebounced full diagnostics pass.
To Reproduce
Open a large app (300+ XAML files), wait for Ready.
Run Find References on {StaticResource AppBrush} (declared in App.xaml) and hover elsewhere while it runs.
Hover waits about 7 s.
Expected behavior
Cached resource index, cancellable requests, debounced diagnostics, and latency that doesn't scale with file size.
Notes
Bug bash IDs: C-09, C-33, C-34, C-35, C-49.
Screenshots
No response
OS Version and details
Windows 11 x64 (10.0.26200), VS Code 1.143.1, .NET SDK 10.0.403. Found in the XAML IntelliSense bug bash on 0.3.1-prerelease.456 (PR #276, f90df977).
Activity