How to add a listener to 'New File'

For example, for a Cmake project, when adding CPP files, the configuration of Cmake files will be automatically added. Can this be implemented through theia? How do you do that?

Hi @Dennis,

you can simply listen to any changes in your whole workspace using the FileService.onDidFilesChange event. Here’s a sample implementation of this: