diff --git a/src/app/plugin/pluginAPI.js b/src/app/plugin/pluginAPI.js index 80038812fa..81bd2e00cb 100644 --- a/src/app/plugin/pluginAPI.js +++ b/src/app/plugin/pluginAPI.js @@ -73,6 +73,9 @@ module.exports = (pluginManager, fileProviders, fileManager, compiler, udapp) => } }, editor: { + getFilesFromPath: (mod, path, cb) => { + fileManager.filesFromPath(path, cb) + }, getCurrentFile: (mod, cb) => { var path = fileManager.currentFile() if (!path) {