-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload extension button never goes away #19685
Comments
This is not related to #19753. This does not load only this particular extension. |
I used this extension as the simplest sample available. But the issue is the same whaterver the extension is used: |
@vavans Can you please check if you are able to reproduce it on our insiders build. Looks like it got fixed. |
Please re-open as this is an issue with johnpapa/vscode-angular-snippets#40 cc @chrisdias |
Found the root cause: Market place is giving a different name for this extension. Market place is having the name of the extension as In stable, this extension shows it is installed but not running (even though it is running), because installed check is done on In insiders, we made a fix for #17290 that checks always are based on But still there is an issue that local installed extension is not getting mapped with market place extension which leads to issues in detecting updates etc., @joaomoreno Any idea why market place is sending different extension name? And is there a workaround for extensions to fix this from their side? |
Further analysis on this: VSCE creates a new extension if name is changed because it does not exist in Market place. But Market place is sharing the same UUID for extensions (old and new names). This is causing the for all this confusion. So right solution is to get it fixed in Market place. |
- id is pub.name. name in lower case. - use id to match sync installed extension with gallery extension - use id to identify extension while installing and uninstalling - Clean up - Remove IExtensionIdentity - Add util methods to create gallery id and local extension id
- Adopt to gallery extension id (lowercase) while scanning local extensions in Extension management and Extension host
- In Extension description in Extension host - In Extension enablement service - Rename identifier to id in IExtension
- Adopt dependencies in gallery to be case insensitive - Adopt dependencies in local to be case insensitive
- Use uuids along with names to sync with gallery until market place team fixes the query issue
Adopted VS Code to be resilient with case changes in extension names. All extension ids
So all above extension interfaces can use strict equals on ids. Adoption for ExtensionsThis will impact those extensions using following API in
|
As far as I can tell this impact also |
@Krzysztof-Cieslak That's a good catch. This api should not be impacted. Since So Fixed it. Thanks for mentioning it. |
- Revert changes to id in Ext description. No lowering of name. - Implement an equal function to check equality of extensions - Use above function to check the equality with extension description
I had to revert the changes done in extension host (making id lower case) because it breaks usage of following:
Hence, I reverted id of Extension in Extension host (vscode.d.ts) to be same as before. It means no lowering of case is done. Id of extension will change if the extension author changes the case of the name. Adopted at other places in VS Code to use a equality function to compare with extension descriptions. |
Steps to Reproduce:
ext install hello
to
uppercase Hello.
The text was updated successfully, but these errors were encountered: