Open raushanraja opened 3 years ago
Should this only be for themes that we've installed? If so, we'll need to track them. Then also track when they get activated. @parithon do you know off the top of your head if there's an event to listen to for theme activations? I'd guess so.
@all-contributors please add @raushanraja for ideas.
Great idea @raushanraja!
@MichaelJolley
I've put up a pull request to add @raushanraja! :tada:
@parithon do you know off the top of your head if there's an event to listen to for theme activations? I'd guess so.
When a theme is changed in vscode the user's settings.json is updated with the new theme. Whenever the settings.json is updated, an event is fired which we can listen for and do things as needed.
vscode.workspace.onDidChangeConfiguration
It will be good idea to remind users to uninstall/disable unused themes after certain days.