[TxMt] Re: Is it possible to get the list of open tabs?
Joseph Ferraro
ferraro.joseph at gmail.com
Tue Nov 22 19:07:39 UTC 2011
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.
On Nov 22, 2011, at 12:59 PM, Allan Odgaard wrote:
> On 21 Nov 2011, at 20:15, Joseph Ferraro wrote:
>
>> Was hoping there was an environment variable to get a list of the open tabs in a project. Is this possible?
>
> What is the use-case for this?
>
> It is not something which presently exists and not something I really feel should be added because “open tabs” is a bit undefined, like what about untitled documents? Multiple windows? What if we add split views? etc.
>
> Instead I recommend that commands which work on multiple files use TM_SELECTED_FILES (files selected in drawer).
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
More information about the textmate
mailing list