You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, you can create your own open_recently_closed_file (Ctrl+Shift+T) command, which works correctly.
Note, when Sublime Text is closed, you can:
defon_window_command(self, window, command_name, args):
ifcommand_name=="exit":
# Un maximize all windows before exitingwindows=sublime.windows()
forwinwindows:
w.run_command("unmaximize_pane")
But this does not work if Sublime Text is not closed by the menu File -> Exit:
Then, you could create a dedicated thread to periodically monitor the open files?
Probably better improve/extend the event listeners on SkipCloseForClonedViews to also monitor which files are open, and reopen them or just create the "phantom" views when Sublime Text started.
A phantom view is created automatically by Sublime text when you ask for it to open a file which does not exists on the file system, i.e., window.open('nonexistent')
The text was updated successfully, but these errors were encountered:
This should partially fix this issue:
Ctrl+Shift+T
does not reopen cloned views neither missing files from start up sublimehq/sublime_text#2927 Ctrl+Shift+T` does not reopen cloned views neither missing files from start upAdditionally, you can create your own
open_recently_closed_file
(Ctrl+Shift+T
) command, which works correctly.Note, when Sublime Text is closed, you can:
But this does not work if Sublime Text is not closed by the menu
File -> Exit
:on_exit
event sublimehq/sublime_text#2950 Add theon_exit
eventThen, you could create a dedicated thread to periodically monitor the open files?
Probably better improve/extend the event listeners on SkipCloseForClonedViews to also monitor which files are open, and reopen them or just create the "phantom" views when Sublime Text started.
A phantom view is created automatically by Sublime text when you ask for it to open a file which does not exists on the file system, i.e.,
window.open('nonexistent')
The text was updated successfully, but these errors were encountered: