Newlines omitted from inserted template

The default header template looks like this:

/**

  • Created by IntelliJ IDEA.

  • User: $

  • Date: $

  • Time: $

  • To change this template use File | Settings | File Templates.

*/

But when I create a new file, it inserts this:

/**

  • Created by IntelliJ IDEA. User: Dave. Date: 22-Sep-2007. Time: 01:05:41. To change this template use File | Settings

  • | File Templates.

*/

Is this a bug, or is there some setting to retain the newlines, or is there some 'hard newline' character that should terminate each line?

0
5 comments
Avatar
Permanently deleted user

"We control the vertical. We control the horizontal..."


RRS

0
Avatar
Permanently deleted user

I think your code style was corrupt for some reasons. I have this long time ago. Please try to delete .IntelliJIdea70 and run IDEA again.

0
Avatar
Permanently deleted user

Thanks, I suspected it might be that, but I didn't want to have to set up my code style again. Oh well, nothing ventured...

0

Hello Dave,

Thanks, I suspected it might be that, but I didn't want to have to set
up my code style again. Oh well, nothing ventured...


You could try to export->delete->import.
That could save a lot of time, compared to configuring from scratch.

-tt


0
Avatar
Permanently deleted user

Thanks, I didn't think of that - worth a try, I suppose...

Later - tried the default code style settings and they were OK, so in the end, I just copied all my custom code settings into a new code style and that worked OK too - so the old code style was indeed corrupted somehow.

Message was edited by:
Dave Lorde

0

Please sign in to leave a comment.