{"id":2144,"date":"2012-09-26T15:46:00","date_gmt":"2012-09-26T15:46:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2012\/09\/26\/workaround-for-html-closing-tag-problem\/"},"modified":"2012-09-26T15:46:00","modified_gmt":"2012-09-26T15:46:00","slug":"workaround-for-html-closing-tag-problem","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/workaround-for-html-closing-tag-problem\/","title":{"rendered":"Workaround for HTML closing tag problem"},"content":{"rendered":"<p>In Visual Studio 2012, HTML tags will fail to be automatically closed when using the following keyboard layouts:<\/p>\n<ul>\n<li>Canadian Multilingual<\/li>\n<li>Croatian<\/li>\n<li>Czech<\/li>\n<li>Hungarian<\/li>\n<li>Latvian<\/li>\n<li>Polish<\/li>\n<li>Romanian<\/li>\n<li>Serbian<\/li>\n<li>Slovak<\/li>\n<li>Slovenian<\/li>\n<\/ul>\n<p>On these keyboards, the &ldquo;&gt;&rdquo; character is typed by pressing AltGr+. or RightAlt+.<\/p>\n<h3>Work around<\/h3>\n<ol>\n<li>Open the Tools\/Customize dialog<\/li>\n<li>Click the &ldquo;Keyboard&hellip;&rdquo; button<\/li>\n<li>In the &ldquo;Show commands containing:&rdquo; text field, enter: view.autoclose<\/li>\n<ol>\n<li>The list view will display &ldquo;View.AutoCloseTagOverride&rdquo;<\/li>\n<li>&ldquo;Shortcuts for selected command&rdquo; will display: Ctrl+Alt+. (HTML Editor Source View)<\/li>\n<\/ol>\n<li>Press the &ldquo;Remove&rdquo; button<\/li>\n<li>Press the &ldquo;OK button<\/li>\n<li>In the Customize dialog, press the &ldquo;Close&rdquo; button<\/li>\n<\/ol>\n<p><br>Typing an HTML tag will now result in the closing tag being automatically inserted, as in VS 2010.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Visual Studio 2012, HTML tags will fail to be automatically closed when using the following keyboard layouts: Canadian Multilingual Croatian Czech Hungarian Latvian Polish Romanian Serbian Slovak Slovenian On these keyboards, the &ldquo;&gt;&rdquo; character is typed by pressing AltGr+. or RightAlt+. Work around Open the Tools\/Customize dialog Click the &ldquo;Keyboard&hellip;&rdquo; button In the &ldquo;Show [&hellip;]<\/p>\n","protected":false},"author":398,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[7411,7412],"class_list":["post-2144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-html","tag-visual-studio-2012"],"acf":[],"blog_post_summary":"<p>In Visual Studio 2012, HTML tags will fail to be automatically closed when using the following keyboard layouts: Canadian Multilingual Croatian Czech Hungarian Latvian Polish Romanian Serbian Slovak Slovenian On these keyboards, the &ldquo;&gt;&rdquo; character is typed by pressing AltGr+. or RightAlt+. Work around Open the Tools\/Customize dialog Click the &ldquo;Keyboard&hellip;&rdquo; button In the &ldquo;Show [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/2144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/398"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=2144"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/2144\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=2144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=2144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=2144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}