Exemple #1
0
 public SignatureHelper(HashNamer namer, Diagnoser diagnoser) : base
     (
         new SignatureHelpRegistrationOptions()
 {
     DocumentSelector    = DocumentSelector.ForLanguage("jai"),
     TriggerCharacters   = new Container <string>("(", ","),
     RetriggerCharacters = new Container <string>(",", ")")
 }
     )
 {
     this.namer     = namer;
     this.diagnoser = diagnoser;
 }
Exemple #2
0
 public SemanticTokensHandler(ILogger <SemanticTokensHandler> logger, HashNamer namer, Diagnoser diagnoser) : base(
         new SemanticTokensRegistrationOptions
 {
     DocumentSelector = DocumentSelector.ForLanguage("jai"),
     Legend           = new SemanticTokensLegend()
     {
         TokenTypes     = typeNames,
         TokenModifiers = modifierNames,
     },
     Full = new SemanticTokensCapabilityRequestFull
     {
         Delta = true
     },
     Range = true
 }
         )
 {
     _logger        = logger;
     this.namer     = namer;
     this.diagnoser = diagnoser;
 }