View Source GenLSP.Structures.NotebookDocument (gen_lsp v0.9.0)

A notebook document.

@since 3.17.0

Link to this section Summary



  • uri: The notebook document's uri.

Link to this section Types

@type t() :: %GenLSP.Structures.NotebookDocument{
  cells: [GenLSP.Structures.NotebookCell.t()],
  metadata: GenLSP.TypeAlias.LSPObject.t() | nil,
  notebook_type: String.t(),
  uri: GenLSP.BaseTypes.uri(),
  version: integer()

Link to this section Functions

Link to this function


View Source (struct)



  • uri: The notebook document's uri.

  • notebook_type: The type of the notebook.

  • version: The version number of this document (it will increase after each change, including undo/redo).

  • metadata: Additional metadata stored with the notebook document.

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

  • cells: The cells of a notebook.