class LSProtocol::DocumentOnTypeFormattingRegistrationOptions

Overview

Registration options for a DocumentOnTypeFormattingRequest.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(document_selector : DocumentSelector | Nil, first_trigger_character : String | Nil, more_trigger_character : Array(String) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def document_selector : DocumentSelector | Nil #

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.


[View source]
def first_trigger_character : String #

A character on which formatting should be triggered, like {.


[View source]
def more_trigger_character : Array(String) | Nil #

More trigger characters.


[View source]