Recommendation to search from Marketplace is not shown #180826
Labels
bug
Issue identified by VS Code Team member as probable bug
extension-recommendations
Extension recommendations issues
insiders-released
Patch has been released in VS Code Insiders
regression
Something that used to work is now broken
verified
Verification succeeded
Milestone
I opened VS Code with a brand new profile (
--profile-temp --user-data-dir /foo/tmp
) and opened.arb
file. I was expected to see a notification "Marketplace has extensions that can help with '.arb' files" but nothing appeared.I put a breakpoint inside
promptRecommendations()
infileBasedRecommendations.ts
and noticed that whenthis.recommendationsByPattern.get('.arb')
is called, the set of extensions returned does not match those you get when yous earch"ext:arb"
in the marketplace search. It returns a number of unrelated extensions, which are then discarded for not being ARB extensions, so ultimately no prompt is shown.For example, in the list fetched in code is the Go extension, the CSharp extension, the Python extension, the PowerShell extension. But when I search the marketplace I get:
As a result,
promptRecommendations
never callspromptFromRecommendations
, sopromptRecommendedExtensionForFileType
is also never called, which is where the file-type prompt is usually handled.(@sandy081 FYI - I notice you made some changes in this area in #177181, so perhaps you have some context about how this works and whether this is a bug, or the behaviour is not exactly as I expect?).
The text was updated successfully, but these errors were encountered: