[TxMt] Re: JSON bundle

Hans-Jörg Bibiko bibiko at eva.mpg.de
Tue Oct 21 15:26:47 UTC 2008


On 21.10.2008, at 17:18, James Gray wrote:
> On Oct 20, 2008, at 10:44 PM, backspaces wrote:
>> I looked in the forum archive but didn't see much discussion of the
>> json
>> bundle.
>>
>> I installed it, using the GetBundle bundle, and it does not appear
>> to "do"
>> anything (no menu items) .. even though there is a Language entry
>> for json.
>> In particular, I'd like to "tidy" the json file I'm editing.
>>
>> What's the secret?  :)
>
> No secret.  For now the JSON bundle only contains a language grammar.

Maybe I missed something but there is a formatter inside of that  
bundle. I'm using it.

Reformat Document/Selection.tmCommand which works perfectly if the  
JSON file consists of one single line.

Check http://macromates.com/svn/Bundles/trunk/Bundles/JSON.tmbundle

Cheers,

--Hans



More information about the textmate mailing list