()
| 223 | |
| 224 | // 获取插件列表(过滤掉内置插件,用于插件中心显示) |
| 225 | public async getPlugins(): Promise<any[]> { |
| 226 | const allPlugins = await this.getAllPlugins() |
| 227 | // 过滤掉所有内置插件(system、setting 等) |
| 228 | return allPlugins.filter((plugin: any) => !isBundledInternalPlugin(plugin.name)) |
| 229 | } |
| 230 | |
| 231 | public getDisabledPlugins(): string[] { |
| 232 | if (this.disabledPluginPathSet) { |
no test coverage detected