{"id":366,"date":"2011-10-10T08:14:06","date_gmt":"2011-10-10T07:14:06","guid":{"rendered":"http:\/\/blog.repsaj.nl\/?p=366"},"modified":"2011-10-10T08:15:11","modified_gmt":"2011-10-10T07:15:11","slug":"please-vote-for-my-vs-suggestion","status":"publish","type":"post","link":"http:\/\/blog.repsaj.nl\/index.php\/2011\/10\/please-vote-for-my-vs-suggestion\/","title":{"rendered":"Please vote for my VS suggestion"},"content":{"rendered":"<p>This weekend I added a suggestion for a new simple but powerfull feature in the next version of Visual Studio. In my opinion it&#8217;s a pretty good one (otherwhise I wouldn&#8217;t have posted it anyway), so I thought perhaps you agree on this. Feel free to vote and help me get this one up there.<\/p>\n<p>To vote: <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\/suggestions\/2302594-automatically-fix-fixable-errors\">http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\/suggestions\/2302594-automatically-fix-fixable-errors<\/a><\/p>\n<p>Suggestion text after the break.<br \/>\n<!--more--><\/p>\n<p>I suggest you&#8230; automatically fix fixable errors<\/p>\n<p>Some errors in the error list could be automatically fixed. For instance, you build your code and the error &#8220;The type &#8216;bla&#8217; is not referenced. You must add a reference to assembly &#8216;System.Data.Entity'&#8221; appears in the error pane. This error is easily fixed by adding the correct reference to the project, but since Studio already knows what it&#8217;s looking for, it knows where it&#8217;s located (GAC), why isn&#8217;t there an option to fix it?<\/p>\n<p>It would be nice if the error pane would have a column &#8220;Autoresolve&#8221; with for each error which migh be fixable a link &#8220;Try resolving&#8221;. Studio would then try to autoresolve the problem, for instance by adding the correct reference to the project and all would be well. If there was a problem resolving the problem, Studio could display an error message telling the user the autofix didn&#8217;t work and he should correct the problem himself.<\/p>\n<p>In the same category, auto fixes could be applied for things like missing\/extra parentheses, ; characters, etc. etc. I think the list of autoresolvable things is actually pretty long.<\/p>\n<p>But please note: VS should NEVER do this on it&#8217;s own. It should always be the developers action to perform an autoresolve.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This weekend I added a suggestion for a new simple but powerfull feature in the next version of Visual Studio. In my opinion it&#8217;s a pretty good one (otherwhise I wouldn&#8217;t have posted it anyway), so I thought perhaps you agree on this. Feel free to vote and help me get this one up there.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[34],"tags":[40,39,41,42],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3KFR1-5U","_links":{"self":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/posts\/366"}],"collection":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/comments?post=366"}],"version-history":[{"count":0,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/posts\/366\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/media?parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/categories?post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.repsaj.nl\/index.php\/wp-json\/wp\/v2\/tags?post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}