I have a feeling I’ve missed something, but is there an API that will let me see when the user changes tab or document?
I want to reload/refresh my sidebar when the current document changes.
Currently my sidebar will refresh after the next typing, but that means there’s a period where the contents refer to the previous document and are therefore stale.
This is for: