<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to trick Visual Studio to not show line numbers for blank lines?</title><link>http://blogs.msdn.com/b/saraford/archive/2009/08/27/how-to-trick-visual-studio-to-not-show-line-numbers-for-blank-lines.aspx</link><description>Going through my folder of my blog “contact me” emails, I came across this question. I like tricking Visual Studio into doing things, so I thought I’d share. Is there a way to display only line number of coded lines, i.e. don’t number blank lines? Numbered</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How to trick Visual Studio to not show line numbers for blank lines?</title><link>http://blogs.msdn.com/b/saraford/archive/2009/08/27/how-to-trick-visual-studio-to-not-show-line-numbers-for-blank-lines.aspx#9888640</link><pubDate>Fri, 28 Aug 2009 20:03:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9888640</guid><dc:creator>Luciano Evaristo Guerche (Gorše)</dc:creator><description>&lt;p&gt;Sara,&lt;/p&gt;
&lt;p&gt;In Visual Studio, I would run a &amp;quot;Find and Replace&amp;quot;, passing &amp;quot;{\n} *\n&amp;quot; in the &amp;quot;Find what:&amp;quot; field and &amp;quot;\(120,1)&amp;quot; in the &amp;quot;Replace with:&amp;quot; field, assuring to &amp;quot;Find Options&amp;quot; &amp;gt; &amp;quot;Use&amp;quot; &amp;gt; &amp;quot;Regular Expression&amp;quot; be selected. If one has a wider monitor screen, it is just a matter of replacing 120 to a bigger number.&lt;/p&gt;
&lt;p&gt;Just don't forget to WARN your readers, this is for presentation purposes ONLY and code changes SHALL never be committed/saved to disk :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9888640" width="1" height="1"&gt;</description></item><item><title>re: How to trick Visual Studio to not show line numbers for blank lines?</title><link>http://blogs.msdn.com/b/saraford/archive/2009/08/27/how-to-trick-visual-studio-to-not-show-line-numbers-for-blank-lines.aspx#9888478</link><pubDate>Fri, 28 Aug 2009 17:37:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9888478</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Um, perhaps knowing something about these &amp;quot;powerpoint decks&amp;quot; would help, but this seems like a really lame way to get what is being asked for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9888478" width="1" height="1"&gt;</description></item><item><title>re: How to trick Visual Studio to not show line numbers for blank lines?</title><link>http://blogs.msdn.com/b/saraford/archive/2009/08/27/how-to-trick-visual-studio-to-not-show-line-numbers-for-blank-lines.aspx#9887887</link><pubDate>Fri, 28 Aug 2009 07:06:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9887887</guid><dc:creator>Josh Einstein</dc:creator><description>&lt;p&gt;Wouldn't it be less hassle to just take screen shots of every page of code, open the resulting images in a hex editor and locate the bits that correspond to the line numbers you want to hide and turn them white? Plus if you trigger auto format all that hard work is gone. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9887887" width="1" height="1"&gt;</description></item></channel></rss>