"Add to Workspace Recommendations" works incorrectly, when extension id has upper case. #164458
Labels
bug
Issue identified by VS Code Team member as probable bug
extensions
Issues concerning extensions
insiders-released
Patch has been released in VS Code Insiders
verified
Verification succeeded
Milestone
Does this issue occur when all extensions are disabled?: Yes
1.72.2
MacOS Monterey 12.3.1
Steps to Reproduce:
Vue Language Features(Volar)
andTypeScript Vue Plugin(Volar)
into workspace recommendations../vscode/extensions.json
is a string start with a upper case like "Vue.xxx", and the rest of others will change to all lower case string like "volar.xxx", this makes further "Add to Workspace Recommendations" oprations work incorrectly.2022-10-24.20.48.27.mov
My guessing:
The function
getRecommendations
andgetUnwantedRecommendations
returns an array of lowercase strings,vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.ts
Lines 82 to 90 in 7bd27b4
however those adding or removing functions only push the raw extensionId to config file, which causes this bug when the raw extensionId has upper case.
vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.ts
Lines 144 to 158 in 7bd27b4
The text was updated successfully, but these errors were encountered: