[TxMt] Re: Is it possible to get the list of open tabs?

Allan Odgaard mailinglist at textmate.org
Mon Nov 28 01:03:28 UTC 2011


On 22 Nov 2011, at 20:07, Joseph Ferraro wrote:

> here's the case for being able to get a list of open tabs in a project:
> 
> i'm writing a bundle that allows you to pull down local source code from a Salesforce.com org, edit the source, and compile in the cloud.  if a user edits multiple source files, i'd rather them be able to compile the files they have open in tabs instead of having to compile the entire project.

How about storing the file’s time stamp when fetching it and comparing time stamps when the user requests to “compile” his project? Then you’d also avoid rebuilding unchanged (but open) files.



More information about the textmate mailing list