class LSProtocol::ShowDocumentRequest

Overview

A request to show a document. This request might open an external program depending on the value of the URI to open. For example a request to open https://code.visualstudio.com/ will very likely open the URI in a WEB browser.

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32 | String, params : ShowDocumentParams) #

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

[View source]

Instance Method Detail

def id : Int32 | String #

The request id.


[View source]
def jsonrpc : String #

[View source]
def method : String #

The method to be invoked.


[View source]
def params : ShowDocumentParams #

[View source]