Hi there,
I'd like to create a lot of snippets programmatically and not via the bundle editor. Is there anything to be aware of?
Is the uuid important? What does TextMate do with it?
Patrick
I'd like to create a lot of snippets programmatically and not via the bundle editor. Is there anything to be aware of?
Is the uuid important? What does TextMate do with it?
Yes it is important; it is what TextMate uses it to determine which command is which, uniqueness, etc. (You can rename things, move them etc. and TextMate will still know which is which, etc) You can generate one with the uuidgen command in Terminal though, or from the script of course.
Hi,
I'd like to create a lot of snippets programmatically and not via the bundle editor. Is there anything to be aware of?
Is the uuid important? What does TextMate do with it?
Yes it is important; it is what TextMate uses it to determine which command is which, uniqueness, etc. (You can rename things, move them etc. and TextMate will still know which is which, etc) You can generate one with the uuidgen command in Terminal though, or from the script of course.
OK, thanks Michael, I'll give it a try.
Patrick
Hello Michael,
I'd like to create a lot of snippets programmatically and not via the bundle editor. Is there anything to be aware of?
Is the uuid important? What does TextMate do with it?
Yes it is important; it is what TextMate uses it to determine which command is which, uniqueness, etc. (You can rename things, move them etc. and TextMate will still know which is which, etc) You can generate one with the uuidgen command in Terminal though, or from the script of course.
OK, things work fine. I can create lots of snippets with a program and textmate accepts them.
Patrick