Should the Copy refactor option honor the Line Separator settings in the IDE Settings

When I use the Copy refactor on an existing file(that happens to be in the right format of Dos/Windows), Aurora does not honor the settings.

The file that it creates does not end each line with a \r \n.

Unfortunately, what it leaves me with is not usuable on the server I have to load the file to; the compile errors are absolutely ugly.

Also, it appears that creating a new class using the project view experiences the same problem.

Anyway, I was just taking a reality check first, to make sure I was not missing anything, before I opened a bug report.

4 comments
Comment actions Permalink

Check Options -> IDE Settings -> Code Style -> Line Separator (for new
files).

Does that solve the problem?

"zmbs" <no_mail@jetbrains.com> wrote in message
news:8228347.1057791258923.JavaMail.javamailuser@localhost...

When I use the Copy refactor on an existing file(that happens to be in the

right format of Dos/Windows), Aurora does not honor the settings.
>

The file that it creates does not end each line with a \r \n.

>

Unfortunately, what it leaves me with is not usuable on the server I have

to load the file to; the compile errors are absolutely ugly.
>

Also, it appears that creating a new class using the project view

experiences the same problem.
>

Anyway, I was just taking a reality check first, to make sure I was not

missing anything, before I opened a bug report.


0
Comment actions Permalink

No.

That is why I asked if it should honor the Line Separator settings in the IDE Settings.

0
Comment actions Permalink

This should be a bug. Please submit a request into the Tracker.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"zmbs" <no_mail@jetbrains.com> wrote in message
news:8228347.1057791258923.JavaMail.javamailuser@localhost...

When I use the Copy refactor on an existing file(that happens to be in the

right format of Dos/Windows), Aurora does not honor the settings.
>

The file that it creates does not end each line with a \r \n.

>

Unfortunately, what it leaves me with is not usuable on the server I have

to load the file to; the compile errors are absolutely ugly.
>

Also, it appears that creating a new class using the project view

experiences the same problem.
>

Anyway, I was just taking a reality check first, to make sure I was not

missing anything, before I opened a bug report.


0
Comment actions Permalink

Thanks for the reply. I have submitted the report.

0

Please sign in to leave a comment.