Unused property in Properties File

I am using build 3370.

Idea warns me that some property in my properties file were not used. However, some of those properties were used in my jsp files. Wouldn't it be much helpful if idea would look into my JSP files too for the usage of message properties?

Example:
<bean:message key="label.emp.no" />

Is this already reflected in 3378?

4 comments
Comment actions Permalink

Unused property detection is very dangerous and I hope it's removed, since it's very plausible that a key is built up at runtime: bundle.getResource("input." + myparam);

0
Comment actions Permalink

Well this case may treat as "all properties started/containing/endswith @mask@ are used".
But this is useful feature but especially reflected one.

TIA,
Dmitry

0
Comment actions Permalink

Please file request into JIRA.
--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"nick" <no_mail@jetbrains.com> wrote in message
news:31707656.1119403528058.JavaMail.itn@is.intellij.net...
>I am using build 3370.
>

Idea warns me that some property in my properties file were not used.
However, some of those properties were used in my jsp files. Wouldn't it
be much helpful if idea would look into my JSP files too for the usage of
message properties?

>

Example:
<bean:message key="label.emp.no" />

>

Is this already reflected in 3378?



0

Please sign in to leave a comment.