{"id":256546,"date":"2026-06-30T09:00:45","date_gmt":"2026-06-30T16:00:45","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=256546"},"modified":"2026-07-01T05:22:07","modified_gmt":"2026-07-01T12:22:07","slug":"visual-studio-june-update-track-your-usage-trust-your-tools","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-june-update-track-your-usage-trust-your-tools\/","title":{"rendered":"Visual Studio June Update &#8211; Track Your Usage, Trust Your Tools"},"content":{"rendered":"<p>Visual Studio works best when you can see what&#8217;s happening and trust the tools you&#8217;ve added to your workflow. The June update is built around both. The <strong>Copilot Usage<\/strong> window gets a refresh with proactive alerts as you approach your limits, MCP servers now get a trust check before they run anything new, and the <a href=\"https:\/\/aka.ms\/AppModCppDocs\">GitHub Copilot modernization agent for C++<\/a> graduates to general availability for MSVC upgrades.<\/p>\n<p>We&#8217;ve also extended <a href=\"https:\/\/code.visualstudio.com\/blogs\/2026\/02\/26\/long-distance-nes\">next edit suggestions<\/a> across the entire active file and brought full-color emojis everywhere the editor renders text. Install the June Stable Channel update when you&#8217;re ready, then take a look at what&#8217;s new below.<\/p>\n<h3>Copilot usage tracking and alerts<\/h3>\n<p>GitHub Copilot usage is now calculated based on token consumption rather than by request, as part of its <a href=\"https:\/\/github.blog\/news-insights\/company-news\/github-copilot-is-moving-to-usage-based-billing\/\">usage-based billing model<\/a>. The refreshed <strong>Copilot Usage<\/strong> window in Visual Studio gives you a clearer view of where you stand against that model, with real-time updates as you work. Open it any time from the <strong>Copilot badge menu<\/strong> &gt; <strong>Copilot Usage<\/strong>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_copilot-usage-window.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-256665\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_copilot-usage-window.webp\" alt=\"The Copilot Free Usage flyout showing a Monthly limit progress bar at 100.0% with a reset date, an Inline suggestions bar at 0.1%, and an Upgrade plan button.\" width=\"747\" height=\"431\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_copilot-usage-window.webp 747w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_copilot-usage-window-300x173.webp 300w\" sizes=\"(max-width: 747px) 100vw, 747px\" \/><\/a><\/p>\n<p>You&#8217;ll also see proactive alerts as you approach a limit, when you hit it, and when additional usage (overages) activates. The quota warning threshold is configurable, so you can decide how early you want the heads-up.<\/p>\n<p>This is the start of a broader investment in Copilot usage visibility. Expect more in upcoming releases, and let us know on <a href=\"https:\/\/developercommunity.visualstudio.com\/\">Developer Community<\/a> what would help most.<\/p>\n<h3>Trust validation for MCP servers<\/h3>\n<p><a href=\"https:\/\/learn.microsoft.com\/visualstudio\/ide\/mcp-servers\">MCP servers<\/a> extend Copilot&#8217;s reach, and as more of your day-to-day workflow runs through them, the question of whether they&#8217;ve quietly changed underneath you becomes worth asking. Visual Studio now validates MCP server trust in two places during startup. Before the server process starts, the current configuration is compared against a previously trusted baseline. After it starts, the fingerprint of its tools, prompts, resources, and instructions is compared to the last-trusted fingerprint. If anything has diverged, a trust dialog asks you to review the changes before the server is allowed to run.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_mcp-trust-dialog.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-256662\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_mcp-trust-dialog.webp\" alt=\"The Trust and run MCP server dialog warning that the configuration for &quot;MyDemoServerNew4Final&quot; has changed and that tools, prompts, and instructions may have been updated, with Trust and Do not trust buttons.\" width=\"843\" height=\"461\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_mcp-trust-dialog.webp 843w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_mcp-trust-dialog-300x164.webp 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_mcp-trust-dialog-768x420.webp 768w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/a><\/p>\n<p>From the dialog you can accept the changes (which updates the baseline), check <strong>Don&#8217;t show me this dialog again for this server<\/strong> and pick <strong>Trust<\/strong> to always trust the server going forward, or pick <strong>Do not trust<\/strong> to reject the changes and abort startup. First-time connections are implicitly trusted and seed the initial baseline. Built-in servers, servers under a <code>RegistryOnly<\/code> policy, and any server you&#8217;ve explicitly set to always-trust skip the prompt entirely.<\/p>\n<p>Trust validation is on by default. You can manage it at <strong>Tools &gt; Options &gt; GitHub &gt; Copilot &gt; Copilot Chat &gt; Show trust dialog before running tools from an updated MCP server<\/strong>.<\/p>\n<h3>GitHub Copilot modernization agent for C++<\/h3>\n<p>The first C++ scenarios for the <a href=\"https:\/\/aka.ms\/AppModCppDocs\">GitHub Copilot modernization agent<\/a> are now generally available. These are the flows that upgrade your C++ projects to the latest version of the <a href=\"https:\/\/learn.microsoft.com\/cpp\/overview\/compiler-versions\">Microsoft C++ (MSVC) Build Tools<\/a>, where the new features, performance improvements, and security updates live.<\/p>\n<p>The agent analyzes your project, identifies compatibility issues, and lays out an upgrade plan. Run it in <strong>Automated<\/strong> mode to let it carry out the upgrade end to end, or in <strong>Guided<\/strong> mode to review and approve the assessment, plan, and execution steps before each one runs. Right-click a solution or project in <strong>Solution Explorer<\/strong> and pick <strong>Modernize<\/strong>, or open <strong>Copilot Chat<\/strong> and type <code>@Modernize<\/code> followed by your upgrade request.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_app-mod-msvc-upgrade-hilo-sample.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-256663\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_app-mod-msvc-upgrade-hilo-sample.webp\" alt=\"An assessment.md document generated by the modernization agent for a Hilo C++ sample, listing in-scope toolset upgrade issues (compile blockers like C2039 'tr1' not a member of std, and MSB8036 Windows SDK 10.0 not found) with project paths, file paths, and rationale for each.\" width=\"1093\" height=\"695\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_app-mod-msvc-upgrade-hilo-sample.webp 1093w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_app-mod-msvc-upgrade-hilo-sample-300x191.webp 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_app-mod-msvc-upgrade-hilo-sample-1024x651.webp 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_app-mod-msvc-upgrade-hilo-sample-768x488.webp 768w\" sizes=\"(max-width: 1093px) 100vw, 1093px\" \/><\/a><\/p>\n<p>Thanks to the developers who put the preview through its paces on real C++ projects \u2014 your feedback shaped where this landed. Let us know which C++ modernization scenarios you want next on the <a href=\"https:\/\/developercommunity.visualstudio.com\/cpp\">C++ Developer Community<\/a>.<\/p>\n<h3>Long-distance next edit suggestions<\/h3>\n<p>Make a change in one place, and you usually know there are related edits to make further down the same file. GitHub Copilot&#8217;s <strong>next edit suggestions<\/strong> (NES) have always anticipated the next change, but until now they were limited to the area immediately around your cursor. That&#8217;s often not where the related edits actually are.<\/p>\n<p>Long-distance next edit suggestions extends NES across the full active file. Copilot can predict and propose edits anywhere in the current file, helping you keep related code in sync without manually hopping between sections.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_long-distance-edit.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-256661\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_long-distance-edit.webp\" alt=\"A C# property setter at line 60 with the cursor positioned in the setter body and a &quot;Tab Suggestion on Ln: 81&quot; hint pointing to a Next Edit Suggestion several lines further down the file.\" width=\"713\" height=\"284\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_long-distance-edit.webp 713w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_long-distance-edit-300x119.webp 300w\" sizes=\"(max-width: 713px) 100vw, 713px\" \/><\/a><\/p>\n<p>The feature is off by default for now. Turn it on under <strong>Tools &gt; Options &gt; Text Editor &gt; Inline Suggestions<\/strong> by checking <strong>Enable extended range suggestions<\/strong>. The <a href=\"https:\/\/code.visualstudio.com\/blogs\/2026\/02\/26\/long-distance-nes\">deep dive on the model training and evaluation behind long-distance NES<\/a> is worth a read if you want the back story. Give it a try and tell us how it lands.<\/p>\n<h3>Color emojis<\/h3>\n<p>Emojis are now rendered in full color across Visual Studio. The same emoji you use to flag a bug, mark a section header, or highlight a TODO shows up with its real colors in the editor, in markdown previews, in <a href=\"https:\/\/docs.github.com\/copilot\/github-copilot-chat\">GitHub Copilot Chat<\/a>, in build output, and in Solution Explorer.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_color-emojis.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-256664\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_color-emojis.webp\" alt=\"Three TODO-style code comments rendered in green with full-color emojis: a red bug for &quot;Fix editing user not being saved&quot;, a notepad for &quot;Cleanup code&quot;, and a sparkles for &quot;Add the ability to edit a user&quot;.\" width=\"500\" height=\"281\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_color-emojis.webp 500w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2026\/06\/vs18.7_color-emojis-300x169.webp 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>A red \u274c stands out as a warning, and a green \u2705 reads as confirmation. The rendering uses modern font technologies, so what you see matches what your teammates see regardless of which Windows version they&#8217;re on.<\/p>\n<hr \/>\n<p>From our entire team, thank you for choosing Visual Studio! For the latest updates, resources, and news, check out the <a href=\"https:\/\/aka.ms\/vshub\">Visual Studio Hub<\/a> and stay in touch.<\/p>\n<p><strong>Happy coding!<\/strong>\n<em>The Visual Studio team<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The June update includes a Copilot Usage window refresh with proactive alerts as you approach your limits, MCP servers now get a trust check before they run anything new.<\/p>\n","protected":false},"author":1017,"featured_media":256547,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[510,6883],"class_list":["post-256546","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-cpp","tag-copilot"],"acf":[],"blog_post_summary":"<p>The June update includes a Copilot Usage window refresh with proactive alerts as you approach your limits, MCP servers now get a trust check before they run anything new.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/256546","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\/1017"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=256546"}],"version-history":[{"count":1,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/256546\/revisions"}],"predecessor-version":[{"id":256667,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/256546\/revisions\/256667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/256547"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=256546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=256546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=256546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}