Author Topic: File extension setup for Java properties file  (Read 5543 times)

jkwuc89

  • Senior Community Member
  • Posts: 199
  • Hero Points: 6
File extension setup for Java properties file
« on: April 26, 2007, 03:36:48 PM »
Eclipse syntax coloring support includes support for Java properties files.  The closest file extension configuration I could find inside SlickEdit 2007 for Java properties files is "ini".  I tried adding a file extension to SlickEdit for "properties" referring it to the "ini" file extension but the resultant syntax coloring was much less than ideal.

Ideally (IMO), syntax coloring of a Java properties files should:
1.  Use one color for the property name (left of = sign)
2.  Use one color for the property value (right of = sign, string color will due)
3.  Use # as the comment designator
4.  Colorize the equals sign

How difficult would it be to add my own file extension configuration using Slick-C to support Java properties files?

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
Re: File extension setup for Java properties file
« Reply #1 on: April 26, 2007, 07:47:56 PM »
Seems pretty simple. I'll see if we can add that for v12.0.2, planned for this Summer.

--Scott

jkwuc89

  • Senior Community Member
  • Posts: 199
  • Hero Points: 6
Re: File extension setup for Java properties file
« Reply #2 on: April 30, 2007, 07:09:01 PM »
Excellent!  Thanks.