File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
extensions/vscode/src/features Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 11import { getTsdk } from '@volar/vscode' ;
2- import { GetConnectedNamedPipeServerRequest , ParseSFCRequest } from '@vue/language-server' ;
2+ import { ParseSFCRequest } from '@vue/language-server' ;
33import * as semver from 'semver' ;
44import * as vscode from 'vscode' ;
55import 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' ,
You can’t perform that action at this time.
0 commit comments