EOLM, End of the Line Markers Visual Studio Extension
- Posted: May 26, 2014 at 6:00 AM
- 12,426 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Extensions don't have to be monsters. They don't have to have everything and the kitchen sink too. Sometimes a focused, specific extension that does one thing and one then well is the perfect fit for your needs.
Today's extension from Rolf W. Rasmussen is a case in point. It does one thing, but if you've ever needed something like this, you'll know just how perfect this help could be...
End of the Line is a Visual Studio extension that shows end of line markers in text editor allowing users to differentiate between CRLF and LF line endings.
Visual Studio provides the Edit ▸ Advanced ▸ View White Space (Ctrl+R, Ctrl+W) option to visualize spaces and tabs. Unfortunately this option does not visualize line break characters such as carriage returns (CR) and line feeds (LF). The End of the Line is a Visual Studio extension fixes this. When used it will CR and LF characters as ¤ and ¶ respectively using the same font style as Visual Studio displays spaces and tabs in.
Sources of inconsistent line endings
Have you ever wondered why Visual Studio starts showing the Inconsistent Line Endings when you open a file, even though you've only ever used Visual Studio to edit the file? Detecting where these inconsistent line endings originate from is a lot easier when you're able to see the line endings while editing the file. Common ways in which inconsistent line endings gets introduced is:
- Copying and pasting code from a file with different line endings.
- Using Visual Studio extensions that always assumes CRLF endings to reformat regions of code.
[GD: Gallery post copied in full]
And best of all, as you've seen above, the source is available too!