VsCode extension - get list of dark/light themes
问题 Is it possible to get list of installed light/dark themes in extension programmatically. I want to make an extension that will switch next color theme on key command. 回答1: You can get all extensions and search for the ones that contribute a theme: vscode.extensions.all.forEach(ext => { console.log(ext.packageJSON.contributes.themes); } 来源: https://stackoverflow.com/questions/54772368/vscode-extension-get-list-of-dark-light-themes