I vaguely recall this question coming up but I wanted to re-emphasize it. There is currently no way for a command to operate on all files contained in a project [or is there?]. there is TM_PROJECT_DIRECTORY but this is only a path to where <project>.tmbundle lives. Allan do you have plans for adding this soon?
Some motivations for such a request : Another developer and I would like to work on some eclipse-style refactoring tools [ http://www-128.ibm.com/developerworks/library/os-ecref/ ] but there would have to be a way to access all files in a project. Also, the one reason holding me back from using the Subversion bundle [almost] exclusively is its inability to commit all files in a project.
K
On Apr 5, 2005, at 21:30, kumar mcmillan wrote:
There is currently no way for a command to operate on all files contained in a project [or is there?]. there is TM_PROJECT_DIRECTORY but this is only a path to where <project>.tmbundle lives. Allan do you have plans for adding this soon?
I should probably add this to the AS scripting dictionary. Three reasons why an environment variable doesn't strike me as good: 1) too troublesome to work with lists that way, 2) no meta-data available for items, 3) project drawer should switch to lazy loading of folder contents, which would require a full traversal of all the folders in the source list each time a command were to be executed.
I'm probably going to add a very limited scripting dictionary real soon now, just to get the ball rolling (I'm thinking initially mainly to control the caret, and I could add this as well, since it shouldn't require that much thought to get it right).