Open
Conversation
…th for scope::variable queries The 'fast symbol search' commit (674148f) introduced experimentEnabled to WorkspaceSymbolParams which switches the language server to a faster code path that correctly handles scope::variable queries. A subsequent commit (c3f8d0c) removed this flag as part of cleaning up the experiment, but this caused the server to fall back to the legacy code path that breaks scoped symbol searches (e.g. ns::var returns results for 'ns::' but then fails to return results once any text is typed after '::', breaking all scope::variable searches and Copilot definition lookups for scoped symbols). Fix: restore experimentEnabled: true unconditionally so the working fast code path is always used. Fixes microsoft#14200
139e71e to
959b822
Compare
sean-mcmanus
requested changes
Feb 20, 2026
Contributor
sean-mcmanus
left a comment
There was a problem hiding this comment.
I see it not working still. Also, the cpptools side has the input as a string and doesn't actually check any experimentEnabled bool. I'll debug the cpptools process to see what's going on. I don't think this can be fixed via the TypeScript.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Workspace symbol search with scope::variable (e.g., std::vector) fails after Typing . This regression occurred when the experimentEnabled flag was removed, causing the language server to revert to a legacy path that handles scoped queries incorrectly.
Solution Restores the modern "fast symbol search" path by unconditionally passing experimentEnabled: true. This path correctly parses and filters scoped symbol queries.
Impact
Fixes #14200
Restores proper C++ symbol filtering for users and AI tools like Copilot.