fix(diagnostics): use useDocumentText to reliably trigger diagnostics on content changes#44
fix(diagnostics): use useDocumentText to reliably trigger diagnostics on content changes#44
useDocumentText to reliably trigger diagnostics on content changes#44Conversation
…cs on content changes
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughThe change modifies the diagnostic collection mechanism in 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
#43 introduced a regression by replacing
useDocumentTextwithactiveDocument+activeDocumentVersioncomputed refs as the watch source, which caused diagnostics to not refresh when editing a file without switching tabs.