XamlStyler icon indicating copy to clipboard operation
XamlStyler copied to clipboard

Create EndOfLine option

Open virzak opened this issue 5 years ago • 6 comments
trafficstars

Description:

Add styler option end-of-line ( lf | crlf ) to force specific line endings

xstyler -p -r -d WPF -l Minimal --end-of-line lf

Partially fixes #285

Checklist:

  • [X] I have commented my code, particularly in hard-to-understand areas
  • [X] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] I have tested my changes by running the extension in VS2017
  • [ ] I have tested my changes by running the extension in VS2019
  • [ ] If changes to the documentation are needed, I have noted this in the description above

virzak avatar Aug 16 '20 19:08 virzak

What's keeping this?

Jay-o-Way avatar Nov 13 '23 21:11 Jay-o-Way

@grochocki, all issues are resolved apart from end-of-line vs line-ending. I'm cool with whatever you decide. Do you have a suggestion on automated testing for this PR?

virzak avatar Jan 26 '24 20:01 virzak

@grochocki would it be possible to merge this soon?

virzak avatar Apr 12 '24 14:04 virzak