<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Type the line into a file:<div><div>ruby -e 'puts `env`'</div><div><br></div><div>and with the cursor in the line hit ^R (Execute selection and insert result)</div><div><br></div><div><br></div><div>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.</div><div><br></div><div>Dave.</div><div><br></div><div><div>On 22 Nov 2011, at 16:38, Brandon M Fryslie wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font class="Apple-style-span" face="arial, sans-serif">> </font><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Was hoping there was an environment variable to get a list of the open tabs in a project. Is this possible?</span><div>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><div><font class="Apple-style-span" face="arial, sans-serif">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.</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">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.</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Brandon</font></div>
<br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate</blockquote></div><br></div></body></html>