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; }
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; }