[TxMt] Re: JSON bundle

James Gray james at grayproductions.net
Tue Oct 21 15:57:59 UTC 2008


On Oct 21, 2008, at 10:26 AM, Hans-Jörg Bibiko wrote:

> 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

Oops, I stand corrected!  Sorry, I didn't know that was there.

James Edward Gray II


More information about the textmate mailing list