- VSCode Version: 1.18.1.
- OS Version: Windows
Steps to Reproduce:
- Start debugging an extension that references vscode.workspace.textDocuments with a workspace that has multiple files open.
Bug: vscode.workspace.textDocuments doesn't include the files listed under "Open Editors" until the file is activated the 1st time. Our extension wants to check if there are any C++ files open, even if they haven't been given focus yet.
According to #10304 it sounds like the docs in Open Editors should belong to textDocuments.
Reproduces without extensions: Yes (uh...well, you need at least one extension, because the bug is with the extension APIs).
Steps to Reproduce:
Bug: vscode.workspace.textDocuments doesn't include the files listed under "Open Editors" until the file is activated the 1st time. Our extension wants to check if there are any C++ files open, even if they haven't been given focus yet.
According to #10304 it sounds like the docs in Open Editors should belong to textDocuments.
Reproduces without extensions: Yes (uh...well, you need at least one extension, because the bug is with the extension APIs).