Top Methods
org.eclipse.lsp4j.services

public Interface NotebookDocumentService

Annotations
@JsonSegment:notebookDocument
Imports
org.eclipse.lsp4j.DidChangeNotebookDocumentParams, .DidCloseNotebookDocumentParams, .DidOpenNotebookDocumentParams, .DidSaveNotebookDocumentParams, .ServerCapabilities, org.eclipse.lsp4j.jsonrpc.services.JsonNotification, .JsonSegment

Method Summary

Modifier and TypeMethod and Description
public void
didChange(DidChangeNotebookDocumentParams params)

The change notification is sent from the client to the server when a notebook document changes.

public void
didClose(DidCloseNotebookDocumentParams params)

The close notification is sent from the client to the server when a notebook document is closed.

public void
didOpen(DidOpenNotebookDocumentParams params)

The open notification is sent from the client to the server when a notebook document is opened.

public void
didSave(DidSaveNotebookDocumentParams params)

The save notification is sent from the client to the server when a notebook document is saved.

Method Detail

didChangeback to summary
public void didChange(DidChangeNotebookDocumentParams params)

The change notification is sent from the client to the server when a notebook document changes. It is only sent by a client if the server requested the synchronization mode notebook in its ServerCapabilities#notebookDocumentSync capability.

Registration Options: org.eclipse.lsp4j.NotebookDocumentSyncRegistrationOptions

Since 3.17.0

Annotations
@JsonNotification
didCloseback to summary
public void didClose(DidCloseNotebookDocumentParams params)

The close notification is sent from the client to the server when a notebook document is closed. It is only sent by a client if the server requested the synchronization mode notebook in its ServerCapabilities#notebookDocumentSync capability.

Registration Options: org.eclipse.lsp4j.NotebookDocumentSyncRegistrationOptions

Since 3.17.0

Annotations
@JsonNotification
didOpenback to summary
public void didOpen(DidOpenNotebookDocumentParams params)

The open notification is sent from the client to the server when a notebook document is opened. It is only sent by a client if the server requested the synchronization mode notebook in its ServerCapabilities#notebookDocumentSync capability.

Registration Options: org.eclipse.lsp4j.NotebookDocumentSyncRegistrationOptions

Since 3.17.0

Annotations
@JsonNotification
didSaveback to summary
public void didSave(DidSaveNotebookDocumentParams params)

The save notification is sent from the client to the server when a notebook document is saved. It is only sent by a client if the server requested the synchronization mode notebook in its ServerCapabilities#notebookDocumentSync capability.

Registration Options: org.eclipse.lsp4j.NotebookDocumentSyncRegistrationOptions

Since 3.17.0

Annotations
@JsonNotification