{"id":241009,"date":"2023-01-09T07:00:35","date_gmt":"2023-01-09T15:00:35","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=241009"},"modified":"2023-01-09T09:40:13","modified_gmt":"2023-01-09T17:40:13","slug":"the-visual-studio-editor-can-do-that","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/the-visual-studio-editor-can-do-that\/","title":{"rendered":"Five shortcuts to boost your productivity"},"content":{"rendered":"<p>Taking full advantage of the Visual Studio editor features will make you a more productive developer. Any keyboard warrior will tell you that knowing the right shortcuts boosts that productivity even further. So, we\u2019ve put together a short little video that demonstrates some useful shortcuts you can use while coding in Visual Studio.<\/p>\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/Bh1pI1llV4Q\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>In the video, we cover the following shortcuts:<\/p>\n<table style=\"border-collapse: collapse; width: 58.5672%; height: 140px;\">\n<tbody>\n<tr style=\"height: 28px;\">\n<td style=\"width: 39.0623%; height: 28px;\"><kbd>Ctrl<\/kbd> + <kbd>D<\/kbd><\/td>\n<td style=\"width: 32.4625%; height: 28px;\">Duplicate lines<\/td>\n<\/tr>\n<tr style=\"height: 28px;\">\n<td style=\"width: 39.0623%; height: 28px;\"><kbd>Ctrl<\/kbd> + <kbd>Shift<\/kbd> + <kbd>L<\/kbd><\/td>\n<td style=\"width: 32.4625%; height: 28px;\">Delete whole line<\/td>\n<\/tr>\n<tr style=\"height: 28px;\">\n<td style=\"width: 39.0623%; height: 28px;\"><kbd>Shift<\/kbd> + <kbd>Alt<\/kbd> + <kbd>.<\/kbd><\/td>\n<td style=\"width: 32.4625%; height: 28px;\">Select next occurrence<\/td>\n<\/tr>\n<tr style=\"height: 28px;\">\n<td style=\"width: 39.0623%; height: 28px;\"><kbd>Alt<\/kbd> + select<\/td>\n<td style=\"width: 32.4625%; height: 28px;\">Vertical (box) selection<\/td>\n<\/tr>\n<tr style=\"height: 28px;\">\n<td style=\"width: 39.0623%; height: 28px;\"><kbd>Alt<\/kbd> + <kbd>Ctrl<\/kbd> + mouse-click<\/td>\n<td style=\"width: 32.4625%; height: 28px;\">Insert multiple cursors<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>There are many other features for editing your code. One way to discover them is to look in the Edit menu.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/edit-menu.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-241010\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/edit-menu.png\" alt=\"Image edit menu\" width=\"1098\" height=\"1191\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/edit-menu.png 1098w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/edit-menu-277x300.png 277w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/edit-menu-944x1024.png 944w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/01\/edit-menu-768x833.png 768w\" sizes=\"(max-width: 1098px) 100vw, 1098px\" \/><\/a><\/p>\n<p>Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Taking full advantage of the Visual Studio editor features will make you a more productive developer. Any keyboard warrior will tell you that knowing the right shortcuts boosts that productivity even further. So, we\u2019ve put together a short little video that demonstrates some useful shortcuts you can use while coding in Visual Studio. In the [&hellip;]<\/p>\n","protected":false},"author":642,"featured_media":241010,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[6839,6879],"class_list":["post-241009","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-developer-productivity","tag-editor"],"acf":[],"blog_post_summary":"<p>Taking full advantage of the Visual Studio editor features will make you a more productive developer. Any keyboard warrior will tell you that knowing the right shortcuts boosts that productivity even further. So, we\u2019ve put together a short little video that demonstrates some useful shortcuts you can use while coding in Visual Studio. In the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/241009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/642"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=241009"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/241009\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/241010"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=241009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=241009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=241009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}