[TxMt] Re: Is it possible to get the list of open tabs?
Dave Baldwin
dave.baldwin at 3dlabs.com
Tue Nov 22 17:07:56 UTC 2011
Type the line into a file:
ruby -e 'puts `env`'
and with the cursor in the line hit ^R (Execute selection and insert result)
This will insert all the environmental variables into the file for you to look at. What this does is run the Ruby interpreter and prints out the result of running the bash shell command env, but from within textmate so you get the textmate environment variables.
Dave.
On 22 Nov 2011, at 16:38, Brandon M Fryslie wrote:
> > Was hoping there was an environment variable to get a list of the open tabs in a project. Is this possible?
>
> You can look at the environment variables by enabling the Bundle Development bundle. Go into the Bundle Editor, and click on Filter near the bottom. Check the box next to Bundle Development. Now go to a document and press shift+ctrl+command+p. That should pop up a tooltip with all of the environment variables. Someone please correct me if I am mistaken and that is not all of the environment variables.
>
> There is also this thing called TMTOOLS which supposedly hacks in a some extra functionality...but rather than go that route you might just bide your time and see if a future update possibly provides the features you are looking for.
>
> Brandon
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20111122/e5612b34/attachment.html>
More information about the textmate
mailing list