Sublime Forum

Language Server plugin - lifecycle of a child process

#1

Hi all,

I’d like to work on a language server plugin (a base framework, into which other language-server implementations can plug to provide analysis/hints), and I’m currently basing my work on the VSCode plugin.

My question is what are best practices for a child process inside a plugin? Is there a lifecycle method that I can implement like on_plugin_activate() wherein I create the child process, or would I have to lazily create it when the user performs some action that requires the child process?

Thanks

2 Likes

#2

Check you http://www.sublimetext.com/docs/3/api_reference.html#plugin_lifecycle.

1 Like