I wanted to know if any of you guys knew a tip to globally (or maybe on a project-by-project basis ?) use Unix line breaks in all of my project files.
I'm aware of the "Advanced Save Options..." menu entry but first it's a file-by-file option and second it does not seem to really work (for example if I select Unix endings and change the file the day after, it's gonna insert windows line endings in the middle of the Unix endings...). The advanced save popup mentions a "Current Setting" which is the default choice, so I was wondering if there was an option somewhere this was referring to ?
If the stock VS can't properly do this, are you maybe aware of a plugin that does the job ?
Thanks !
Edit : After trying a global plugin (see Sir.Tiddlesworth's answer), I don't think it's a viable solution. So a project-by-project suggestion would be welcome !
I know this question is a few months old, but I will leave an answer here just in case.
There is a pretty good plugin for Visual Studio 2013 (and below) called Strip'em. It is really easy to use, and it converts the lines endings as you save the file.
http://www.grebulon.com/software/stripem.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With