shakeyo / qlcolorcode

Automatically exported from code.google.com/p/qlcolorcode
0 stars 0 forks source link

.properties files (and other TextMate-supported languages) #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First, thanks for the awesome plug-in. It has already made my life much easier.

Now, as for the request, it is a standard "please support Bozoscript" kind
of request. I just happen to use Java properties files in my development so
it would be nice if it was supported.

However, I thought I would provide a suggestion that could help you rapidly
add the language (and possibly many more): have you looked at the plugins
for TextMate? They may be using the same format for syntax highlighting as
Highlight and TextMate developers have already created highlighting for
many, many languages (including Java Properties files).

It just would make sense to combine the efforts of the two communities.
There is no reason for two different communities of developers to re-invent
syntax highlighting for the same language. So, even if you can't use
TextMate plugin files directly, you may consider making a converter (that
can turn TextMate files into Highlight files). Or you might collaborate
with the TextMate people to come up with a standard way to represent syntax
highlighting files.

No sense in re-inventing the wheel!

Cheers,
Chris Redford
(credford@gmail.com)

Original issue reported on code.google.com by credf...@gmail.com on 19 Jul 2008 at 1:46

GoogleCodeExporter commented 9 years ago
The thing is that there are a gajillion (that's a technical term) communities 
out there that have reinvented syntax 
highlighting definition languages.  Every text editor has one, and I've tried a 
ton of them.  They all use underlying 
models that are almost identical yet slightly incompatible.  In some cases 
conversion would be possible, but not 
all.  It would certainly be nice to have a common language or a conversion 
utility, but it's actually not *that* hard 
to develop a pretty decent highlighting mode for any given language -- I've 
written several OCaml modes and it 
never takes too long to get the basics working.

As for .properties files, I'll add 'em to the list.

Original comment by n8gray@gmail.com on 19 Jul 2008 at 6:19

GoogleCodeExporter commented 9 years ago
Okay. Thanks n8gray.

Original comment by credf...@gmail.com on 19 Jul 2008 at 8:10

GoogleCodeExporter commented 9 years ago

Original comment by n8gray@gmail.com on 7 Jan 2009 at 7:46

GoogleCodeExporter commented 9 years ago
I'm going to close this for now because AFAICT highlight doesn't support 
.properties files.  Feel free to file a 
request if/when it does.

Original comment by n8gray@gmail.com on 7 Jan 2009 at 8:38