class LSProtocol::NotebookCellTextDocumentFilter

Overview

A notebook cell text document filter denotes a cell text document by different properties.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(notebook : NotebookDocumentFilter | String | Nil, language : String | Nil = nil) #

[View source]

Instance Method Detail

def language : String | Nil #

A language id like python.

Will be matched against the language id of the notebook cell document. '*' matches every language.


[View source]
def notebook : NotebookDocumentFilter | String #

A filter that matches against the notebook containing the notebook cell. If a string value is provided it matches against the notebook type. '*' matches every notebook.


[View source]