From 0eccc7a1ee46299a2773779cd112d0b23ea4580f Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Wed, 27 Mar 2024 22:47:06 +0800 Subject: [PATCH] chore(vscode): remove #3942 check --- extensions/vscode/src/features/doctor.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/extensions/vscode/src/features/doctor.ts b/extensions/vscode/src/features/doctor.ts index afe8888ca2..91afc4f7a3 100644 --- a/extensions/vscode/src/features/doctor.ts +++ b/extensions/vscode/src/features/doctor.ts @@ -1,5 +1,5 @@ import { getTsdk } from '@volar/vscode'; -import { GetConnectedNamedPipeServerRequest, ParseSFCRequest } from '@vue/language-server'; +import { ParseSFCRequest } from '@vue/language-server'; import * as semver from 'semver'; import * as vscode from 'vscode'; import type { BaseLanguageClient } from 'vscode-languageclient'; @@ -231,20 +231,6 @@ export async function register(context: vscode.ExtensionContext, client: BaseLan } if (config.server.hybridMode) { - // #3942 - const namedPipe = await client.sendRequest(GetConnectedNamedPipeServerRequest.type, fileUri.fsPath.replace(/\\/g, '/')); - if (namedPipe?.serverKind === 0) { - problems.push({ - title: 'Missing jsconfig/tsconfig', - message: [ - 'The current file does not have a matching tsconfig/jsconfig, and extension version 2.0 will not work properly for this at the moment.', - 'To avoid this problem, you can create a jsconfig in the project root, or downgrade to 1.8.27.', - '', - 'Issue: https://github.com/vuejs/language-tools/issues/3942', - ].join('\n'), - }); - } - // #3942, https://github.com/microsoft/TypeScript/issues/57633 for (const extId of [ 'svelte.svelte-vscode',