public ILanguageServerTarget Create( JsonRpc jsonRpc, ICapabilitiesProvider capabilitiesProvider, ILspLogger logger) { var lspMiscellaneousFilesWorkspace = new LspMiscellaneousFilesWorkspace(logger); return(new LanguageServerTarget( _dispatcherFactory, jsonRpc, capabilitiesProvider, _lspWorkspaceRegistrationService, lspMiscellaneousFilesWorkspace, _globalOptions, _listenerProvider, logger, ProtocolConstants.RoslynLspLanguages, WellKnownLspServerKinds.CSharpVisualBasicLspServer)); }
public ILanguageServerTarget Create( JsonRpc jsonRpc, ICapabilitiesProvider capabilitiesProvider, ILspLogger logger) { var lspMiscellaneousFilesWorkspace = new LspMiscellaneousFilesWorkspace(logger); return(new LanguageServerTarget( _dispatcherFactory, jsonRpc, capabilitiesProvider, _lspWorkspaceRegistrationService, lspMiscellaneousFilesWorkspace, _globalOptions, _listenerProvider, logger, ProtocolConstants.RoslynLspLanguages, clientName: null, userVisibleServerName: UserVisibleName, telemetryServerTypeName: this.GetType().Name)); }