View source
typedef NotebookDocumentSyncOptions
package languageServerProtocol.protocol
import languageServerProtocol.protocol.Notebook
Options specific to a notebook plus its cells to be synced to the server.
If a selector provide a notebook document filter but no cell selector all cells of a matching notebook document will be synced.
If a selector provides no notebook document filter but only a cell selector all notebook document that contain at least one matching cell will be synced.
Available since
3.17.0
.Fields
optionalsave:Null<Bool>
Whether save notification should be forwarded to
the server. Will only be honored if mode === notebook
.
notebookSelector:Array<{notebook:Null<EitherType<String, NotebookDocumentFilter>>, cells:Null<Array<{language:String}>>}>
The notebooks to be synced