On Aug 29, 2008, at 1:44 PM, Charles Turner wrote:
If I'm writing a language grammar, I'd love a
"scope hierarchy browser" a la Smalltalk that would show me what the
entire scope tree is. Then I could make decisions how to organized my
language scope and easily learn from other language grammars.
Ah, sorry, misinterpreted your request.
The closest it seems the available documentation comes to your request
is this snippet in the StyleGuide:
To make it a bit easier, there is a validate_bundle.rb
inSupport/bin. This is called with a bundle as argument, and will
tell you if any of the scope names are not conforming, for example:
> cd ~/Library/Application\ Support/TextMate/Bundles ../Support/bin/
> validate_bundle.rb Java.tmbundle
Without diving into validate_bundle.rb, I couldn't say if this is
anywhere close to what you're looking for (something I once wished
for, as well, but resolved to hobble along via the reading of other