Reformat Code breaks Copyright/Header

When Copyright configuration is enabled, the following copyright header is inserted at the beginning of file.

/*
  * My copyright notice
  */

Bu after running 'reformat code' if there is one or more empty lines before copyright header, code reformatter deletes them and also initial space characters of my copyright header.

/*
* My copyright notice
*/

Is there any way to configure code reformatter not to mofiy my header?

Thanks

3 comments
Comment actions Permalink

Hi Taner,

Please create corresponding ticket at the IJ tracker and attach your code style settings, sample file before and after reformatting.

Denis

0
Comment actions Permalink

Ok, thanks.

Denis

0

Please sign in to leave a comment.