New plugin to search message key unused
Message key usage plugin
This plugin will find message key unused inside property files. It will simplify the task of determine missing text keys usages or unused ones. Also you can specify search scope (file owner module, whole project, project and libraries), and a regular expression to format or clean properties keys. This new feature is under "Analyze" main menu.
Plugin url:
http://plugins.intellij.net/plugin/?id=2030
请先登录再写评论。
Hello Sergio,
Sorry to disappoint you but there's a built-in inspection for that (Unused
Property Key).
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks Dmitry,
But this plugin goes one step beyond.
It allows to clean or format the keys with a regular expression (because in our framework, we append to every message key the output media, ex: html, wap, mobile, ...) and IDEA reports that every key is unused.
Also the plugin allow to search usages in the file owner module, the whole project and also libraries files.
This is just another help in some special cases.