A problem that has been bothering me with formatting using eclipse before is that the @ symbol in the javadoc is formatted as @ . I have searched for the answer in many places, but have not been able to get a reasonable solution.
I accidentally discovered the problem today, that is, the usage of my javadoc is as follows:
/** * <pre> * @param sourceColumn * @param targetColumn dfd * @param value * @author kanpiaoxue * @CreateTime 2017/08/14 13:18:25<br> * </pre> */
After formatting using eclipse, it is as follows:
/** * <pre> * @param sourceColumn * @param targetColumn dfd * @param value * @author kanpiaoxue * @CreateTime 2017/08/14 13:18:25<br> * </pre> */
Today I found that putting the @ symbol in the <pre> tag will have the above problem, and moving the @ symbol from the scope of <pre> will be no problem.
as follows:
/** * <pre> * Description: this is a test case. * </pre> * * @param sourceColumn * @param targetColumn dfd * @param value * @author kanpiaoxue * @CreateTime 2017/08/14 13:18:25<br> * */
The problem that has been bothering me for a long time has finally been solved.