
Older versions of Mac OS used CR ( \r), but Mac OS X is Unix and uses LF. Unix and Linux traditionally uses LF ( \n), though many tools can handle CRLF as well. Command line tools and redirection also use CRLF. The default text editor on Windows, Notepad, only understands CRLF.

Windows traditionally uses CRLF ( \r\n, carriage-return followed by line-feed). This extension has been distributed with Mercurial as of version 1.5.4.ĭifferent platforms have different conventions for representing line endings in text files:

Visualizing the code coverage results from Azure Pipelines in Visual Studio.Visual Studio Tips and tricks: Add project reference using drag & drop.Visual Studio Tips and tricks: Paste as JSON.Visual Studio Tips and tricks: Open the documentation of a symbol.Visual Studio Tips and tricks: Default startup project.Visual Studio Tips and tricks: Find the current opened file in the solution explorer.Visual Studio Tips and tricks: Regex editing.Visual Studio Tips and tricks: Undock/Re-dock a tool window.Visual Studio Tips and tricks: Extend/Reduce selection.Visual Studio Tips and tricks: Multi-line and multi-cursor editing (this post).Visual Studio Tips and tricks: Open recently closed files.Visual Studio Tips and tricks: Clipboard history.View and edit the Tab Order of Windows Forms Controls.Be sure to check out the rest of the blog posts of the series! This post is part of the series 'Visual Studio Tips and Tricks'. You can select just the next matching location by using Alt+Shift+. Visual Studio will select all the locations that match the selected text in the current document. Select the word you want to match and press Alt+Shift+. You can insert a caret at all places where the current word exists. Press Ctrl+Alt and click where you want to add a caret. If you want to edit multiple places that are unaligned, you can use the multi-cursor edit. Press Alt+Shift+Arrow to select the block to edit:


Press Alt while selecting the block with the mouse: For instance when you want to add the modifier to multiple properties. This is very useful to apply the same change to multiple lines. Visual Studio allows to edit multiple lines at the same time.
