[TxMt] Adding .json to the JavaScript bundle

Allan Odgaard throw-away-1 at macromates.com
Sun Oct 8 15:14:45 UTC 2006


On 6. Oct 2006, at 12:29, Nate Silva wrote:

> JSON (http://en.wikipedia.org/wiki/JSON) is a data-interchange  
> format based on JavaScript. Although there is no official filename  
> extension, .json is typical. It would be nice if the JavaScript  
> bundle had 'json' added to its fileTypes.

But json is not JavaScript.

Would it not be more appropriate to write a json grammar, and tie  
that to the extension?




More information about the textmate mailing list