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 1
1
import { getTsdk } from '@volar/vscode' ;
2
- import { GetConnectedNamedPipeServerRequest , ParseSFCRequest } from '@vue/language-server' ;
2
+ import { ParseSFCRequest } from '@vue/language-server' ;
3
3
import * as semver from 'semver' ;
4
4
import * as vscode from 'vscode' ;
5
5
import type { BaseLanguageClient } from 'vscode-languageclient' ;
@@ -231,20 +231,6 @@ export async function register(context: vscode.ExtensionContext, client: BaseLan
231
231
}
232
232
233
233
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
-
248
234
// #3942, https://github.com/microsoft/TypeScript/issues/57633
249
235
for ( const extId of [
250
236
'svelte.svelte-vscode' ,
You can’t perform that action at this time.
0 commit comments