[TxMt] Re: TM Bundle for Java - Improved Java Properties grammar

John Joyce dangerwillrobinsondanger at gmail.com
Mon Jan 30 19:12:06 UTC 2012


On Jan 30, 2012, at 6:00 AM, textmate-request at lists.macromates.com wrote:

> Date: Mon, 30 Jan 2012 11:10:32 +0000
> From: "ld at ldaley.com" <ld at ldaley.com>
> To: "TextMate users" <textmate at lists.macromates.com>
> Subject: [TxMt] Re: TM Bundle for Java - Improved Java Properties
> 	grammar
> Message-ID: <6ACE76A4-AF40-4943-AA54-0805C2990BDA at ldaley.com>
> Content-Type: text/plain; format=flowed
> 
> On 29 Jan 2012, at 6:15, John Joyce wrote:
> 
>> Hello List,
>> After ages of consternation with viewing Java Properties files that 
>> had multiline values in KVPs not properly syntax colored, I have 
>> created a better language grammar for Java Properties.
>> 
>> It does several things...
>> First it captures comments of course.
>> Then single-line KVPs
>> Then KVPs with dangling spaces or tabs between the key and the = sign. 
>> (These stand out awesomely during fast scrolling to find where they 
>> are and fix them)
>> Then multi-line-value KVPs.
>> 
>> One can never be 100% sure of these things, but I feel fairly 
>> confident with it because the multi-line-value KVPs I have dealt with 
>> are actually HTML emails stored in KVPs. :)
>> 
>> By the way, it looks best in Sunburst them.
>> 
>> Please consider it for inclusion.
> 
> If you submit a pull request for 
> https://github.com/textmate/java.tmbundle I'll happily include it.
> 
> Thanks!
> 
> LD.
Submitted pull request.
Thanks,
John Joyce



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120130/97bf9f21/attachment.html>


More information about the textmate mailing list