class LanguageServer::Protocol::Interface::NotebookDocumentSyncOptions
cell will be synced.
documents that contain at least one matching
filter but only a cell selector all notebook
If a selector provides no notebook document
matching notebook document will be synced.
filter but no cell selector all cells of a
If a selector provides a notebook document
to be synced to the server.
Options specific to a notebook plus its cells
def initialize(notebook_selector:, save: nil)
def initialize(notebook_selector:, save: nil) @attributes = {} @attributes[:notebookSelector] = notebook_selector @attributes[:save] = save if save @attributes.freeze end
def notebook_selector
-
(({ notebook: string | NotebookDocumentFilter; cells?: { language: string; }[]; } | { notebook?: string | NotebookDocumentFilter; cells: { ...; }[]; })[])
-
def notebook_selector attributes.fetch(:notebookSelector) end
def save
-
(boolean)
-
def save attributes.fetch(:save) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end