Hi there,
a question has occurred to me while trying to open a project from the command line: Is there any way to open a project with mate (I can't see any switch that does so) or do I have to use OSX's open command? Would you consider, Allan, adding support for this? It'd avoid users having to switch depending on the file name (file type,actually) when invoking mate from a script
Cheers Victor -- Victor Jalencas Victor.Jalencas@gmail.com
victor jalencas wrote:
Hi there,
a question has occurred to me while trying to open a project from the command line: Is there any way to open a project with mate (I can't see any switch that does so) or do I have to use OSX's open command?
If you use the mate command to open a folder, it will automatically create a project with that root folder. And you can also use mate with a space seperated list of filenames and it will create project with those files.
Jeroen.
But what about opening a existing project? i.e 'mate mycoolproject.tmproj'
On 11/11/05, Jeroen van der Ham jeroen@je-ju.net wrote:
victor jalencas wrote:
Hi there,
a question has occurred to me while trying to open a project from the command line: Is there any way to open a project with mate (I can't see any switch that does so) or do I have to use OSX's open command?
If you use the mate command to open a folder, it will automatically create a project with that root folder. And you can also use mate with a space seperated list of filenames and it will create project with those files.
Jeroen.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Victor Jalencas Victor.Jalencas@gmail.com
On Nov 11, 2005, at 10:21, victor jalencas wrote:
But what about opening a existing project? i.e 'mate mycoolproject.tmproj'
Hi Victor!
I agree, I would expect mate to understand a .tmproj as a project, and maybe have a switch to tell it not to do so, to be able to edit the very file eventually. I am not sure, however, I am not missing something that would make that behaviour inconsistent with something else.
By now .tmproj files can be opened as projects with open(1):
$ open foo.tmproj
-- fxn
On 11/11/2005, at 1.19, victor jalencas wrote:
a question has occurred to me while trying to open a project from the command line: Is there any way to open a project with mate (I can't see any switch that does so) or do I have to use OSX's open command? Would you consider, Allan, adding support for this?
It was useful for me when I wanted to investigate the project files, but since no users really need this, I'll change it.