Question

Is there an API call to determine if Sublime Text has finished loading, including reopening all files that were open before Sublime was closed last? Maybe there is something similar to plugin_loaded(), which gets called after the plugin has finished loading?

If this is not possible, are the files that were open last listed somewhere?

Was it helpful?

Solution

I am not sure if there is such API. However, you can get all stored buffers in file Sublime Text 2\Settings\Session.sublime_session (search "buffers" in it).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top