Apple provides APIs that enable Applications to restore to the desktop “Spaces” [
https://www.wikipedia.org/wiki/Spaces_(software)] they were on prior to reboot. All official Apple applications (Terminal, Safari, and TextEdit are a few common examples) support this feature.
For those of us who make heavy use of the Spaces virtual desktop feature, this feature is a massive boon (time saver). Supporting this feature appears to further provide support for restoring to separate screens [
While I’ve never personally implemented the feature, an Apple tech support specialist pointed me to this documentation and the “Handling Window Restoration” functions of the NSWindow class.
Supporting this feature for macOS versions of Sublime Text would be sublime.