Skip to content

Commit 0eccc7a

Browse files
committed
chore(vscode): remove #3942 check
1 parent fa4a4ba commit 0eccc7a

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

extensions/vscode/src/features/doctor.ts

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getTsdk } from '@volar/vscode';
2-
import { GetConnectedNamedPipeServerRequest, ParseSFCRequest } from '@vue/language-server';
2+
import { ParseSFCRequest } from '@vue/language-server';
33
import * as semver from 'semver';
44
import * as vscode from 'vscode';
55
import type { BaseLanguageClient } from 'vscode-languageclient';
@@ -231,20 +231,6 @@ export async function register(context: vscode.ExtensionContext, client: BaseLan
231231
}
232232

233233
if (config.server.hybridMode) {
234-
// #3942
235-
const namedPipe = await client.sendRequest(GetConnectedNamedPipeServerRequest.type, fileUri.fsPath.replace(/\\/g, '/'));
236-
if (namedPipe?.serverKind === 0) {
237-
problems.push({
238-
title: 'Missing jsconfig/tsconfig',
239-
message: [
240-
'The current file does not have a matching tsconfig/jsconfig, and extension version 2.0 will not work properly for this at the moment.',
241-
'To avoid this problem, you can create a jsconfig in the project root, or downgrade to 1.8.27.',
242-
'',
243-
'Issue: https://github.com/vuejs/language-tools/issues/3942',
244-
].join('\n'),
245-
});
246-
}
247-
248234
// #3942, https://github.com/microsoft/TypeScript/issues/57633
249235
for (const extId of [
250236
'svelte.svelte-vscode',

0 commit comments

Comments
 (0)