I can't find a decent looking theme that I really like. What I am wondering is what's the easiest way to get the entire list of scopes for a particular language?
I want to start with PHP, and work my way to xml, sql, etc.
Regards, Eric
On Jul 24, 2006, at 9:35 PM, Eric Coleman wrote:
I can't find a decent looking theme that I really like. What I am wondering is what's the easiest way to get the entire list of scopes for a particular language?
Allan gave this to me a long time ago (in terminal enter):
zsh cd /Library/Application\ Support/TextMate/Bundles/ for f in *.tmbundle/Syntaxes/*.(plist|tmLanguage); do pl < $f|grep 'name = "'; done|perl -pe 's/.*name = "(.*?)".*/$1/'|sort|uniq|mate
That's what I've been using during my cleanup. :) Of course that gets the scopes for everything, just edit the file match to whatever you want.
On 25/7/2006, at 4:35, Eric Coleman wrote:
I can't find a decent looking theme that I really like. What I am wondering is what's the easiest way to get the entire list of scopes for a particular language?
Also see this: http://macromates.com/blog/archives/2006/04/08/ creating-themes/ (a bundle with a command to create a random theme based on the current scopes.)
Alan,
THANKS!
Eric
On Jul 25, 2006, at 5:00 AM, Allan Odgaard wrote:
On 25/7/2006, at 4:35, Eric Coleman wrote:
I can't find a decent looking theme that I really like. What I am wondering is what's the easiest way to get the entire list of scopes for a particular language?
Also see this: http://macromates.com/blog/archives/2006/04/08/ creating-themes/ (a bundle with a command to create a random theme based on the current scopes.)
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
Hrm,
/tmp/temp_textmate.aljRKR:33:in `[]': cannot convert String into Integer (TypeError) from /tmp/temp_textmate.aljRKR:33:in `create_theme_from_syntax' from /tmp/temp_textmate.aljRKR:89
Regards, Eric
On Jul 25, 2006, at 5:00 AM, Allan Odgaard wrote:
On 25/7/2006, at 4:35, Eric Coleman wrote:
I can't find a decent looking theme that I really like. What I am wondering is what's the easiest way to get the entire list of scopes for a particular language?
Also see this: http://macromates.com/blog/archives/2006/04/08/ creating-themes/ (a bundle with a command to create a random theme based on the current scopes.)
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
On 25/7/2006, at 17:00, Eric Coleman wrote:
/tmp/temp_textmate.aljRKR:33:in `[]': cannot convert String into Integer (TypeError) from /tmp/temp_textmate.aljRKR:33:in `create_theme_from_syntax' from /tmp/temp_textmate.aljRKR:89
What language did you use it with? I just tried Ruby and it created a Ruby Theme of the Day w/o errors.
the php/html one
On Jul 25, 2006, at 6:31 PM, Allan Odgaard wrote:
On 25/7/2006, at 17:00, Eric Coleman wrote:
/tmp/temp_textmate.aljRKR:33:in `[]': cannot convert String into Integer (TypeError) from /tmp/temp_textmate.aljRKR:33:in `create_theme_from_syntax' from /tmp/temp_textmate.aljRKR:89
What language did you use it with? I just tried Ruby and it created a Ruby Theme of the Day w/o errors.
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