Closed bytemain closed 4 years ago
Nice idea, and do you want to make a PR? If you want, just make one.
sure, I'll make a pr it later
it seem that the actividybar's icon appear even if the plugin is not activated..
the same as the command, they are provided by package.json.
I use a toast for test.
so this img show that the extension are not activated, but the icon still exists.
Is your feature request related to a problem? Please describe.
it's better to activate extension when needed; so activated if workspace have related files, such as _config.yml.
Describe the solution you'd like https://github.com/cwxyz007/vscode-hexo-utils/blob/master/package.json#L29
add: "workspaceContains:_config.yml",
Describe alternatives you've considered as above.
Additional context nop