You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recently added type size and alignment details are useful, but they make every eligible C++ hover larger. This adds a default-on, resource-scoped setting for hiding those fields and a Command Palette action that users can bind to a key. The extension deliberately does not claim a default keyboard shortcut.
Configuration changes scoped to a non-default workspace folder did not send the all-folder settings payload to the native service. Send that notification once through the default client and cover the hover behavior in the multi-root scenario.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
With Copilot hovers enabled and a chat model available, toggling this setting and reopening the hover at the same position can still show the old details. HoverProvider.ts:24–26 returns lastContent when CopilotHoverProvider.isNewHover() is false, bypassing the server even after its settings are updated. Reset the default client's Copilot hover state when this setting changes so the next hover requests fresh content.
The hover behavior coverage requires native support that is not available in the currently published binary. Skip binary-dependent scenarios until 1.35.4 is publicly available.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Check size and alignment independently so a partial-hide regression cannot satisfy the hover integration test.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reset Copilot hover cache when hover settings change
Extension/src/LanguageServer/extension.ts:305
With Copilot hovers enabled and a model available, hovering a type, toggling this setting, and hovering the same position again returns the previous size/alignment visibility. HoverProvider.ts:24–26 reuses cached content when CopilotHoverProvider reports the same document and position; sending settings does not invalidate that cache. After sending the updated settings, reset the default client's Copilot hover provider when this option changes so the next hover requests fresh content. Handle this in the settings-change dispatcher to cover both command toggles and direct settings edits.
Reset the Copilot hover identity when type layout visibility changes so reopening the same position requests updated native hover content.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Addressed the latest Copilot review note. Changing type size and alignment visibility now invalidates the same-position Copilot hover cache, so the next hover reflects the new setting.
Preserve the existing asynchronous configuration-provider update behavior after CppSettings.update began returning its completion promise.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The recently added type size and alignment details are useful, but they make every eligible C++ hover larger. This adds a default-on, resource-scoped setting for hiding those fields and a Command Palette action that users can bind to a key. The extension deliberately does not claim a default keyboard shortcut.
Fixes #14820