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 758a375 commit 979244dCopy full SHA for 979244d
extensions/labs/src/views/servicePluginsView.ts
@@ -29,6 +29,12 @@ export function activate(context: vscode.ExtensionContext) {
29
const items: ServicePluginItem[] = [];
30
for (const extension of extensions) {
31
for (const client of extension.exports.volarLabs.languageClients) {
32
+ if (
33
+ !client.clientOptions.documentSelector
34
+ || !vscode.languages.match(client.clientOptions.documentSelector, doc)
35
+ ) {
36
+ continue;
37
+ }
38
const servicePlugins = await client.sendRequest(extension.exports.volarLabs.languageServerProtocol.GetServicePluginsRequest.type, { uri: doc.uri.toString() });
39
if (servicePlugins) {
40
for (const servicePlugin of servicePlugins) {
0 commit comments