I want to add a leading statement for each message in checkStyle, whether it is a custom message or a default message ,in order to identify that the prompt was sent by the checker
I use idea-plugins so I need to define the check rules in the xml file
For example, I added the following statement to my configuration file
<module name="ParameterName " />
When I write a code that doesn't match this rule, I want the format of the prompt message to be Custom Prompt + Default Prompt
I know it is possible to write it this way but it is too redundant, so I am looking for an efficient solution.
<module name="ParameterName">
<message key="name.invalidPattern" value="some custom messages"/>
</module>