Пример #1
0
 public TextDocumentHandler(ILogger <TextDocumentHandler> logger,
                            ILanguageServerConfiguration configuration,
                            ILanguageServerFacade languageServer,
                            LspHost lspHost)
 {
     _logger         = logger;
     _configuration  = configuration;
     _languageServer = languageServer;
     _lspHost        = lspHost;
 }
Пример #2
0
 public SemanticTokensHandler(ILogger <SemanticTokensHandler> logger,
                              LspHost lspHost)
     : base(new SemanticTokensRegistrationOptions
 {
     DocumentSelector = DocumentSelector.ForLanguage("ev2"),
     Legend           = new SemanticTokensLegend(),
     Full             = new SemanticTokensCapabilityRequestFull {
         Delta = true
     },
     Range = true
 })
 {
     _logger  = logger;
     _lspHost = lspHost;
 }