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?
Please sign in to leave a comment.
"We control the vertical. We control the horizontal..."
RRS
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.
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...
Hello Dave,
You could try to export->delete->import.
That could save a lot of time, compared to configuring from scratch.
-tt
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