Be more resilient when checking if we have an opened jts/ts buffer
Fixes #83338 `TextDocument` lifetime may not match that of the the user facing editors. However the JS/TS extension was assuming that it did. Introduce a `ensureHasBuffer` function that can open a buffer if vscode knows about a textdocument but no `onDidOpenTextDocument` has been fired for it yet
Showing
想要评论请 注册 或 登录