when my vscode extension is updated, Show an information message to users。 ps:How can I get the latest version number in my vscode extension?
To get the extension version and other info, see
Extension property on ExtensionContext menu
Extension authors can now use the new
extensionproperty onExtensionContext, which is passed into the extension'sactivatefunction. This returns the sameExtensioninstance thatvscode.extensions.getExtension(<extension-id>)returns, which contains properties such as, the extension's id, version, as well as a serializedpackageJSONproperty where you can access data directly from your extension'spackage.jsonfile.
from v1.55 release notes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With