We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04eeee6 commit 758a375Copy full SHA for 758a375
extensions/labs/src/views/virtualFilesView.ts
@@ -51,6 +51,12 @@ export async function activate(context: vscode.ExtensionContext) {
51
const items: VirtualFileItem[] = [];
52
for (const extension of extensions) {
53
for (const client of extension.exports.volarLabs.languageClients) {
54
+ if (
55
+ !client.clientOptions.documentSelector
56
+ || !vscode.languages.match(client.clientOptions.documentSelector, currentDocument)
57
+ ) {
58
+ continue;
59
+ }
60
const virtualFile = await client.sendRequest(
61
extension.exports.volarLabs.languageServerProtocol.GetVirtualFileRequest.type,
62
{
0 commit comments