How do I force unix (LF) line endings in Visual Studio (Express) 2008?

Is there a way to always have LF line endings in Visual Studio? I can never seem to find it!

Answers


Hope this article will help you:

How To Save a File from Visual C++ in UNIX Format

Unfortunately it seems to be the only way to save files in Unix format by default.

Personally I use Advance Save option in Save File dialog. But to be hones I never have a need to work with large number of files in Unix format from MSVS.


There'a an add-in for Visual Studio 2008 that converts the end of line format when a file is saved. You can download it here: http://grebulon.com/software/stripem.php


Need Your Help

How to break an object into a byte?

java android object bytearray parcelable

How do I break an object --- a Parcelable to be more specific; actually it's a bundle but the point is the same --- into a byte[]? I thought that the way I was doing it was a good solution but appa...

public bool method Cannot implicitly convert type `bool' to `void'

c# android unity3d google-play-games

Im implementing google play sdk to my android game and so far i've done log in and leaderboard part but adding achievements is causing me a little trouble because im using public bool method to mak...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.