Feature request for Properties Editor

I have selected a string block which contains double quotation marks in the editor, such as ["myname"],and I invoke externalize string command,and I find value for source is also contains double quotation marks.I think double quotation marks should be removed from source value,otherwise new line in properties file is key="myname",and I think this is not our intention.
Another feature is memory for previouse Replacement selecting,otherwise I must select Replacement again.
Maybe I cann't express my idea very clearly,and I put an attachment describing this case. I like this plugin very much,and it is a great plugin. Dmitry Kashin,thanks. :)



Attachment(s):
feature_for_PE.jpg
6 comments
Comment actions Permalink

Planned, but as mentioned in anounce works fine only for JSPs.

TIA,
Dmitry

0
Comment actions Permalink

Please try latest version.

0
Comment actions Permalink

Dmitry,
Please see:

http://wiki.opensymphony.com/display/WW/IDEA+Plugin

I'd really like for a way to "plugin" to your plugin to provide WebWork-specific i18n. That is, WebWork does i18n in a very specific manner and if I could somehow "teach" your plugin how to do that, it would be great. I'd definitely rather do that than have to write an entire plugin from scratch.

0
Comment actions Permalink

Can you provide details?

0
Comment actions Permalink

As I'm see PE already has i18n WebWork support :) You have to just add replace template and that's all, Ctrl+Q already working on property name in tag attribute.

TIA,
Dmitry

0
Comment actions Permalink

Dmitry,
There are a few places where i18n bundles can come from:

1) Any files referenced in webwork.properties (default/global bundles)
2) Action classes/packages

Say I'm editing com/acme/FooAction.java. Then the bundles looked up when doing i18n are:

  • com/acme/FooAction.properties

  • com/acme/package.properties

  • com/package.properties

  • any global bundles (#1)

0

Please sign in to leave a comment.