accent icon indicating copy to clipboard operation
accent copied to clipboard

Escaped line endings in Java .properties files are not handled

Open davidkron opened this issue 4 years ago • 0 comments

I tested Accent with a large .properties file from one of our Java applications and I discovered, that multline message values are currently not supported.

Valid example:

my.message.key=one \
               two \
               three

From the Javadoc: https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html#load-java.io.Reader-

If a logical line is spread across several natural lines, the backslash escaping the line terminator sequence, the line terminator sequence, and any white space at the start of the following line have no affect on the key or element values.

davidkron avatar Sep 09 '20 19:09 davidkron