<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tips on Gabriel Mongeon</title><link>https://gabrielmongeon.ca/en/tags/tips/</link><description>Recent content in Tips on Gabriel Mongeon</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 04 Oct 2010 17:31:00 -0400</lastBuildDate><atom:link href="https://gabrielmongeon.ca/en/tags/tips/index.xml" rel="self" type="application/rss+xml"/><item><title>[VS2010 Tips] Multi-line Insertion</title><link>https://gabrielmongeon.ca/en/2010/10/vs2010-tips-multi-line-insertion/</link><pubDate>Mon, 04 Oct 2010 17:31:00 -0400</pubDate><guid>https://gabrielmongeon.ca/en/2010/10/vs2010-tips-multi-line-insertion/</guid><description>&lt;p>While reading &lt;a href="http://blogs.msdn.com/b/csharpfaq/archive/2010/09/28/converting-a-vba-macro-to-c-4-0.aspx">the MSDN article on converting VBA applications to C# 4.0&lt;/a>, I remembered the famous ALT+[Selection] function that allows you to insert the same text/code on multiple lines at once. So, here is the English version of that part of the article:&lt;/p>
&lt;p>Press ALT and select where you want to insert your code (selection in light blue in the image below): &lt;br>
&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-33-48-metablogapi/0535.image_5F00_0D3A19E7.png">&lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-33-48-metablogapi/4670.image_5F00_thumb_5F00_1D65E1E0.png" alt="image" title="image">&lt;/a>&lt;br>
Type your code and boom! All the selected lines have been filled with your code:&lt;/p></description></item></channel></rss>