[ANN] PropertiesEditor Plugin 1.0.6b

Changes

  • New intention to fix duplicated properties issue(Remove duplicated properties except selected)

  • Removing whitespaces after removed by intetion prioperty item

  • Action wrapping partially reworked if problems will occure again please report

  • Small improvements and bug fixes


TIA,
Dmitry

10 comments
Comment actions Permalink

DK> * Action wrapping partially reworked if problems will occure again
DK> please report
DK> * Small improvements and bug fixes

The Ctrl+Enter problem in the SQL plugin seems to be gone.

Thanks for looking into this.
Andrei

0
Comment actions Permalink

Hi,
It was main purpose of this release. But two bugs with actions in two days is very bad sign. :(

TIA,
Dmitry

0
Comment actions Permalink

Hi,

I've found a small bug. If I have the two properties

property1=value1
property1.details=details1

the editor doesn't select the corresponding line if I select 'property1' in
the tree.

Thanks,
Stefan

Dmitry Kashin wrote:

Changes

  • New intention to fix duplicated properties issue(Remove duplicated properties except selected)

  • Removing whitespaces after removed by intetion prioperty item

  • Action wrapping partially reworked if problems will occure again please report

  • Small improvements and bug fixes


TIA,
Dmitry

0
Comment actions Permalink

Hi,
Thanks for report will be fixed.

TIA,
Dmitry

0
Comment actions Permalink

The characters "=: \t\r\n\f#!" are treated by the Properties class as
escapable characters but the PE plugin thinks that at least ' ' and ':'
are not valid escape characters and probably the others as well.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Comment actions Permalink

Hi,
Sorry I'm not understand what do you mean, can you provide some examples?

TIA,
Dmitry

0
Comment actions Permalink

Dmitry Kashin wrote:

Sorry I'm not understand what do you mean, can you provide some examples?


The following property has the escaped ' ' and ':' marked as errors by
the PropertiesEditor:

foobar = \ something\:

The space at the beginning must be escaped because whitespace is
automatically trimmed from the beginning and end of the value if it is
not escaped. The ':' can be used instead '=' to separate property names
from property values and thus must be escaped when used literally.

If you look at the source for the java.util.Properties class, there is a
field called "specialSaveChars" which is a String of these extra special
characters which can be escaped with a '\'.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Comment actions Permalink

Hi,
I think it all make sence only after key value separator, escaping of '!','#','=',':' redundant as for me.
But some character in Properties class looks very strange, for example '\r' and '\n' as key separators.
The only reason why this feature was not implemented earlier is a little confusion with some of character set fields in source of Properties class.
I'll try fix this issue anyway.

TIA,
Dmitry

0
Comment actions Permalink

Dmitry Kashin wrote:

I think it all make sence only after key value separator, escaping of '!','#','=',':' redundant as for me.
But some character in Properties class looks very strange, for example '\r' and '\n' as key separators.
The only reason why this feature was not implemented earlier is a little confusion with some of character set fields in source of Properties class.


The Javadoc for the Properties.load(InputStream) method looks like it
describes all the details of escaping. For example, '=' or ':' can be
included in a property key by escaping.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Comment actions Permalink

Hi,

Please try 1.1 some work on this issue was done.

TIA,
Dmitry

0

Please sign in to leave a comment.