How to insert a blank line above my copyright text inside comment lines in intelliJ IDEA?

I am using intelliJ IDEA 9.

It has a function to create a copyright profile and apply to all files that I create. What I'm trying to do is format the right to comment on copyright.

Suppose I have copyright text: Copyright (c) 2010 my.company. All rights reserved.

I want it to be automatically inserted into files as follows:

////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2010 my.company. All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////

But when I enter the line "Copyright (c) 2010 my.company. All rights reserved." in the copyright profile (without quotes) and configure the formatting to use comments and line borders, etc., I can only do this to display:

////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010 my.company. All rights reserved.
////////////////////////////////////////////////////////////////////////////////

, , , .

    Copyright (c) 2010 my.company. All rights reserved.

, . , ?

+3
1

, @sblundy.

#set($blankLine = '')
${blankLine}
Copyright (c) 2010 my.company. All rights reserved.
${blankLine}

. .

+6

Source: https://habr.com/ru/post/1748078/


All Articles