{"id":33,"date":"2006-04-21T13:54:55","date_gmt":"2006-04-21T12:54:55","guid":{"rendered":"https:\/\/www.dont-panic.cc\/capi\/archives\/33"},"modified":"2007-04-19T12:37:04","modified_gmt":"2007-04-19T11:37:04","slug":"visualstudionet-text-editor-guide-at-80","status":"publish","type":"post","link":"https:\/\/www.dont-panic.cc\/capi\/2006\/04\/21\/visualstudionet-text-editor-guide-at-80\/","title":{"rendered":"VisualStudio.NET: Text-Editor Guide at 80"},"content":{"rendered":"<p><a href=\"https:\/\/www.dont-panic.cc\/capi\/wp-content\/uploads\/2006\/04\/screenshot.JPG\"><img decoding=\"async\" align=\"right\" style=\"margin-left: 10px; width: 257px; height: 121px\" id=\"image35\" alt=\"Guiding lines in VS.NET 2005\" title=\"Guiding lines in VS.NET 2005\" src=\"https:\/\/www.dont-panic.cc\/capi\/wp-content\/uploads\/2006\/04\/screenshot.JPG\" \/><\/a>It is still considered good style to keep code-lines within a certain bound (e.g. 80 characters). IDEs like <a href=\"http:\/\/www.eclipse.org\">Eclipse<\/a> offer to display a red guiding line at the chosen offset to help developers keep within this bound.<\/p>\n<p>By modifying the registry a similar guide can be enabled for <a href=\"http:\/\/msdn.microsoft.com\/vstudio\/\">Visual Studio<\/a> 2003 \/ 2005. Add a string value <strong><code>Guides<\/code><\/strong> to the key (VS.NET 2005, VS 2003 has version 7.1)<\/p>\n<blockquote><p><code> HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\\Text Editor<\/code>.<\/p><\/blockquote>\n<p>Set the value to<\/p>\n<blockquote><p><code>RGB(128,0,0) 80<\/code><\/p><\/blockquote>\n<p>To have multiple guides (like in the <a href=\"https:\/\/www.dont-panic.cc\/capi\/wp-content\/uploads\/2006\/04\/screenshot.JPG\">screenshot<\/a>), add the additional columns space delimited, e.g.<\/p>\n<blockquote><p><code>RGB(128,0,0) 80 100<\/code><\/p><\/blockquote>\n<p>Ackn.: This information has been provided by <em>Hannes Pavelka<\/em> in Microsoft&#8217;s newsgroup <em>microsoft.public.dotnet.languages.csharp<\/em>, Message-ID: <em>&lt;e1jag7$qk7$02$1@news.t-online.com&gt;<\/em> (<a href=\"http:\/\/groups.google.com\/group\/microsoft.public.dotnet.languages.csharp\/browse_thread\/thread\/571b30f9a9feb524\/b1b7813f0a26af51\">Article in Google Groups<\/a>):<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is still considered good style to keep code-lines within a certain bound (e.g. 80 characters). IDEs like Eclipse offer to display a red guiding line at the chosen offset to help developers keep within this bound. By modifying the registry a similar guide can be enabled for Visual Studio 2003 \/ 2005. Add a &hellip; <a href=\"https:\/\/www.dont-panic.cc\/capi\/2006\/04\/21\/visualstudionet-text-editor-guide-at-80\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;VisualStudio.NET: Text-Editor Guide at 80&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[23,30,29,27],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-development","tag-net","tag-registry-hack","tag-userinterface","tag-vsnet"],"_links":{"self":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}