Open mmiscool opened 3 years ago
Sadly the text app will remember all tabs you had open and reopen them on launch. Easiest way to prevent this is to close all the tabs you are done with. You can hold control+w to close all the tabs which might make this a bit easier.
That's why I put in this request so that the developers behind the program might see and other who find it to be an issue could chime in.
Will keep the bug open in case anybody would like to make a PR :)
I personally like this feature as it removes one step of confusion when students are learning to code. We are working on a project and all the files open again after they've left. Would suggest that you make this a setting rather than change it permanently if you want to offer the ability to close all files.
If you accidentally opened a multi gb file just once it becomes a problem.
It would be nice to also include a means of closing all files other than having to hold control+w. I've run into a situation where I've opened hundreds of files while having to browse through trees of JSON files. The large number of files causes performance issues where I cannot read a new file, and then closing all the files by holding control+w takes an unreasonable amount of time.
@dchanman you can right click on one file and select the option that tells close other tabs. Then close current tab easily.
If i close out of the text editor app every time I open it back up all the old text files are there. If they are large it takes a long time to load. How can I disable it remembering the files opened in previous sessions.