mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Only allow configurePlugin against main TS Server
Fixes #106346 Looks like the TS Server doesn't support this in partial mode at the moment
This commit is contained in:
@@ -318,7 +318,6 @@ class RequestRouter {
|
||||
'open',
|
||||
'updateOpen',
|
||||
'configure',
|
||||
'configurePlugin',
|
||||
]);
|
||||
|
||||
constructor(
|
||||
@@ -490,7 +489,8 @@ export class SyntaxRoutingTsServer extends Disposable implements ITypeScriptServ
|
||||
private static readonly semanticCommands = new Set<keyof TypeScriptRequests>([
|
||||
'geterr',
|
||||
'geterrForProject',
|
||||
'projectInfo'
|
||||
'projectInfo',
|
||||
'configurePlugin',
|
||||
]);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user