public TextDocumentSyncHandler(ILanguageServerFacade server, SourceContainer sourceContainer) { this.server = server; this.sourceContainer = sourceContainer; }
public DiagnosticPublisher(ILanguageServerFacade languageServer) { _languageServer = languageServer; }
/// <summary> /// Creates a new instance of the ExtensionService which uses the provided /// PowerShellContext for loading and executing extension code. /// </summary> /// <param name="powerShellContext">A PowerShellContext used to execute extension code.</param> internal ExtensionService(PowerShellContextService powerShellContext, ILanguageServerFacade languageServer) { this.PowerShellContext = powerShellContext; _languageServer = languageServer; }
public RhetosHoverHandler(ILogger <RhetosHoverHandler> log, ILanguageServerFacade serverFacade) { this.log = log; this.rhetosWorkspace = new Lazy <RhetosWorkspace>(serverFacade.GetRequiredService <RhetosWorkspace>); }
public CodeLensHandlerA(ILanguageServerFacade languageServerFacade) : base(new CodeLensRegistrationOptions()) { languageServerFacade.Should().NotBeNull(); }
public TextDocumentHandler(ILogger <TextDocumentHandler> log, ILanguageServerFacade serverFacade) { this.log = log; this.serverFacade = serverFacade; this.rhetosWorkspace = new Lazy <RhetosWorkspace>(serverFacade.GetRequiredService <RhetosWorkspace>); }
public LanguageServerLoggerProvider(ILanguageServerFacade languageServer) { _languageServer = languageServer; }
public BicepEditLinterRuleCommandHandler(ISerializer serializer, ILanguageServerFacade server) : base(LanguageConstants.EditLinterRuleCommandName, serializer) { DefaultBicepConfig = DefaultBicepConfigHelper.GetDefaultBicepConfig(); this.server = server; }
public CodeLensHandlerA(ILanguageServerFacade languageServerFacade) { languageServerFacade.Should().NotBeNull(); }
/// <summary> /// Handles "deploy/waitForCompletion" LSP request. /// This handler waits for the deployment to complete and sends a "deploymentComplete" notification to the client. /// This notification can be used on the client side to write success/failure messsage to the output channel without /// blocking other commands. /// Note: Base handler - ExecuteTypedResponseCommandHandlerBase is serial. This blocks other commands on the client side. /// To avoid the above issue, we changed the RequestProcessType to parallel in <see cref="Server"/> /// We need to make sure changes to this handler are thread safe. /// </summary> public BicepDeploymentWaitForCompletionCommandHandler(IDeploymentOperationsCache deploymentOperationsCache, ILanguageServerFacade server, ISerializer serializer, ITelemetryProvider telemetryProvider) : base(LangServerConstants.DeployWaitForCompletionCommand, serializer) { this.deploymentOperationsCache = deploymentOperationsCache; this.server = server; this.telemetryProvider = telemetryProvider; }
public BicepGetRecommendedConfigLocationHandler(ILanguageServerFacade server) { this.server = server; }
public BicepCompilationManager(ILanguageServerFacade server, ICompilationProvider provider) { this.server = server; this.provider = provider; }
public LanguageServerLogger(ILanguageServerFacade responseRouter, string categoryName, Func <LogLevel> logLevelGetter) { _logLevelGetter = logLevelGetter; _responseRouter = responseRouter; _categoryName = categoryName; }
internal EditorContextService( ILanguageServerFacade languageServer) { _languageServer = languageServer; }
internal LanguageServerService(ILanguageServerFacade languageServer) { _languageServer = languageServer; }
public RhetosProjectMonitor(ILanguageServerFacade languageServerFacade, ILogger <RhetosProjectMonitor> log) { this.rhetosWorkspace = new Lazy <RhetosWorkspace>(languageServerFacade.GetRequiredService <RhetosWorkspace>); this.log = log; }
public BicepCompilationManager(ILanguageServerFacade server, ICompilationProvider provider, IWorkspace workspace) { this.server = server; this.provider = provider; this.workspace = workspace; }
public NestedServerHandler(ILanguageServerFacade languageClientFacade) { _languageClientFacade = languageClientFacade; languageClientFacade.Register(z => z.AddHandler <InterfaceHandler <ILanguageServerFacade> >()); }
public LanguageServerLogger(ILanguageServerFacade responseRouter, string categoryName) { _responseRouter = responseRouter; _categoryName = categoryName; }
public LanguageServerLoggerProvider(ILanguageServerFacade languageServer, LanguageServerLoggerSettings settings) { _languageServer = languageServer; _settings = settings; }
public DocumentHandler(ILanguageServerFacade server, Workspace workspace) { this.Server = server; this.Workspace = workspace; }