{"id":230857,"date":"2020-11-11T10:00:01","date_gmt":"2020-11-11T18:00:01","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=230857"},"modified":"2025-05-16T08:06:17","modified_gmt":"2025-05-16T15:06:17","slug":"intellicode-suggestion-apply-all","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/intellicode-suggestion-apply-all\/","title":{"rendered":"Make your repeated edits faster and more accurate with IntelliCode suggestions"},"content":{"rendered":"<p><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">Making repeated editing changes in your code is tedious and error prone. In Visual Studio 2019 version 16.7 introduced <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/intellicode\/intellicode-suggestions\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"NormalTextRun CommentStart SpellingErrorV2 SCXW221383326 BCX9\">IntelliCode<\/span> suggestions<\/a>. IntelliCode suggestion <\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">helps<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">\u00a0speed you al<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">ong<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">,<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">\u00a0<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">track<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">s<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">\u00a0your edits locally<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">, detects<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">\u00a0repetition<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">, and applies edits to your code.<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\"> We<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">\u00a0now <\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">provide better tailored suggestions and add the ability to review and apply multiple suggestions at once<\/span><\/span><span class=\"TextRun SCXW221383326 BCX9\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW221383326 BCX9\">\u00a0\u2013 check out the video below:<\/span><\/span><\/p>\n<h3>Apply all suggestions<\/h3>\n<p>You can now use apply all to review and apply all edits at once. When IntelliCode detects a suggestion, it marks the location where it can be applied with an ellipsis. With a quick action you can apply the change, and then you can choose to apply all. This will show you a preview of the changes and allow you to review them before you apply.<\/p>\n<p><div style=\"width: 1920px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-230857-1\" width=\"1920\" height=\"1080\" poster=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/10\/ApplyAll.png\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/11\/Blog-post-cc.mp4?_=1\" \/><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/11\/Blog-post-cc.mp4\">https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/11\/Blog-post-cc.mp4<\/a><\/video><\/div><\/p>\n<h3>Let us know what you think!<\/h3>\n<p><span data-contrast=\"auto\">We really like the kind of feedback we are getting from you! It helps us to prioritize the features we are working on and improve the experience. In the <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\">Visual Studio preview\u00a0<\/a><\/span><span data-contrast=\"auto\">channel,<\/span><span data-contrast=\"auto\"> you can test more interactive features.<\/span><\/p>\n<p><span data-contrast=\"none\">Thank you for the detailed feedback you have been providing us! Although IntelliCode is aware of the semantic structure of your code, sometimes suggestions do not match your intent. When you see good suggestion or a suggestion that was not useful, let us know what you expected. That will help us improve and provide better suggestions in the future. Please raise issues <\/span><a href=\"https:\/\/docs.microsoft.com\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio?view=vs-2019\"><span data-contrast=\"none\">Visual Studio \u201creport a problem\u201d<\/span><\/a><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>IntelliCode\u00a0Suggestions\u00a0now provides better tailored repeated edit suggestions and adds the ability to review and apply multiple suggestions at once.<\/p>\n","protected":false},"author":11554,"featured_media":230876,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[5,467,6782,1054,526,6781,12],"class_list":["post-230857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-csharp","tag-intellicode","tag-intellicode-suggestions","tag-ml","tag-productivity","tag-prose","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>IntelliCode\u00a0Suggestions\u00a0now provides better tailored repeated edit suggestions and adds the ability to review and apply multiple suggestions at once.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/230857","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\/11554"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=230857"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/230857\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/230876"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=230857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=230857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=230857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}