class LSProtocol::NotebookCell

Overview

A notebook cell.

A cell's document URI must be unique across ALL notebook cells and can therefore be used to uniquely identify a notebook cell or the cell's text document.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(document : URI | Nil, kind : NotebookCellKind | Nil, execution_summary : ExecutionSummary | Nil = nil, metadata : LSPObject | Nil = nil) #

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

[View source]

Instance Method Detail

def document : URI #

The URI of the cell's text document content.


[View source]
def execution_summary : ExecutionSummary | Nil #

Additional execution summary information if supported by the client.


[View source]
def kind : NotebookCellKind #

The cell's kind


[View source]
def metadata : LSPObject | Nil #

Additional metadata stored with the cell.

Note: should always be an object literal (e.g. LSPObject)


[View source]