Skip to content

Commit

Permalink
chore(vscode): remove #3942 check
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Mar 27, 2024
1 parent fa4a4ba commit 0eccc7a
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions 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';
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 0eccc7a

Please sign in to comment.