Home Download Buy Blog Forum Support

How do Project Files handle files

How do Project Files handle files

Postby jasondavis on Sun Dec 18, 2011 3:42 pm

When you have a project file set up to show a projects folders/files in the sidebar and you click on a file it then opens the file into the editor.

My question, are all of these files actually opened when I launch Sublimetext or does it open each one only when I click on them? My question really is are ALL these files taking up valuable system memory or only a portion of the files?
jasondavis
 
Posts: 23
Joined: Thu Sep 01, 2011 12:52 am

Re: How do Project Files handle files

Postby skaet on Mon Dec 19, 2011 1:25 am

ST2 isn't opening these files when launched, only reading a list of files and folders. The .sublime-project file simply lists which folders are to be included in the sidebar. There will be some disk activity as ST2 indexes each folder but it's negligible for small to medium-sized project. The file content is only read when opening the file.
skaet
 
Posts: 93
Joined: Thu Sep 16, 2010 3:37 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 10 guests