-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retain line ending by default. #553
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems the enum extension should be automatically supported, can you test it also?
What is the enum extension? |
sorry, I meant it looks like I thought I added a suggestion comment to the review as well but it seems like I didn't. |
Oh that. The main reason I didn't do that is because then the set of options would be different from EditorConfig options. Before, we had the Second reason is that is doesn't make much sense to me to supply the default value for an option on the command line. I'll add a note to the readme what |
for IDE tools / integrations it might make sense to know about the special value, so having it documented would be useful there I think. |
But how will these IDEs handle By the way I amended the description:
|
If no `--end_of_line` was specified, find the first line ending in the input and use that for the whole output. All tests include checking for differences in line endings. Closes dlang-community#552.
Before now I didn't realize that |
This is good to go as far as I am concerned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than this minor thing, can you also rebase onto master to trigger the CI with latest code?
I am not seeing any CI. Is that just me? |
0fb2087
to
b172b36
Compare
If no
--end_of_line
was specified, find the first line ending in the input and use that for the whole output.All tests include checking for differences in line endings.
Closes #552.