Sublime Forum

Recent files list and opening recent files

#1

Hi there,

Setting remember_open_files on false also disables saving the files in the recent list. I need to have the files in the recent list but not reopened on the next startup. Is that possible?

Thanks in advance.

0 Likes

#2

Turning hot_exit off stops Sublime from saving and restoring the session information that includes the list of files that were open (except for Projects, which have their own dedicated project specific session information in a sublime-workspace file).

0 Likes

#3

I have

"hot_exit": false,
"remember_open_files": true,

and Sublime IS opening files on startup. If I set remember_open_files on false then it won’t open them. Hence my OP question.

0 Likes

#4

Are you using Projects? If hot_exit is turned off, closing or quitting Sublime should prompt you to save all unsaved files in windows that are not project windows because it saves no session and comes back empty.

0 Likes

#5

As far as I can tell, no, I’m not using Projects. Menu item Project->Close Project is grayed out.

0 Likes

#6

Since build 4127 the recent file list is global to the application and should be maintained without remembering open files.

0 Likes

#7

If I don’t enable remember_open_files, then the recent file list is not getting populated. That’s a fact.

0 Likes

#8

What version are you using?

0 Likes

#9

It’s 4143.

0 Likes

#10

Thanks, we’ve got a fix in the works.

0 Likes

#11

That sounds good :slight_smile:

Thanks.

0 Likes