Sphinx Process Management¶
The language server provides additional notifications and commands that the client can use to provide greater insight and control over the Sphinx sub-processes mananged by esbonio
Life-Cycle Notifications¶
The following notifications will be emitted following during the life-cycle of a Sphinx sub-process
- class esbonio.server.features.sphinx_manager.manager.ClientCreatedNotification(id, scope, config, pid)[source]¶
The payload of a
sphinx/clientCreatednotification- config: SphinxConfig¶
The final configuration.
- class esbonio.server.features.sphinx_manager.manager.AppCreatedNotification(id, application)[source]¶
The payload of a
sphinx/appCreatednotification- application: SphinxInfo¶
Details about the created application.
Commands¶
The server offers the following commands for controlling the underlying Sphinx processes. They are invoked using an workspace/executeCommand request
- esbonio.sphinx.restart¶
Restart the given Sphinx client(s). This command accepts a list of objects of the following form
{"id": "a0a5a856-d4ec-4c45-8461-78748ddbd06f"}
Where each
idcorresponds to a Sphinx Client.