pull/5370/head
filip mertens 2 years ago
parent 6a7f56af2e
commit 733a3569e9
  1. 8
      apps/remix-ide/src/app/plugins/parser/code-parser.tsx

@ -127,6 +127,14 @@ export class CodeParser extends Plugin {
await this.importService.setFileTree() await this.importService.setFileTree()
}) })
this.on('fileManager', 'fileAdded', async () => {
await this.importService.setFileTree()
})
this.on('fileManager', 'fileRemoved', async () => {
await this.importService.setFileTree()
})
this.on('fileManager', 'currentFileChanged', async () => { this.on('fileManager', 'currentFileChanged', async () => {
await this.call('editor', 'discardLineTexts') await this.call('editor', 'discardLineTexts')

Loading…
Cancel
Save