idea format codes text annotation process issues a new line

In comments / ** idea generation method using a template to generate after:

/ * * 
 * Paging query 
 * @param Page 
 * @param size 
 * @return 
 * /

Then after some time if the code you want to format with a shortcut (CTRL + ALT + L), the comment becomes this:

/ * * 
 * Paging query 
 * 
 * @param Page 
 * @param size 
 * @return 
 * /

Wrap in the text area, and then modify the settings can be changed back:

step:

File> Settings> Editor> Code Style> the Java> JavaDoc> Blank Lines-> the After removing the front of the check the Description

 

 

After setting reformat it, but also put before the wrap also give in return.

 

There is added a solid line between a method for reviewing

File>Settings>Editor>General>Appearance>勾选Show method separators

 

 

effect:

 

 

Guess you like

Origin www.cnblogs.com/cmmplb/p/11770504.html