Tree View and Panes events


#1

Hey there,

I made a package that color codes filenames in the tree and panes view.

I’d like to know how and / if I can listen for certain events happening in them. Right now I’m using the DOM MutationObserver, which kinda works ok, but I would like to do it the right way.

I tried checking out the packages but I’m not a coffeescripter and couldn’t make much sense of it all.

Are there any events for the following?

  • Tree View enabled
  • Tree View disabled
  • Tree View file created
  • Tree View file renamed
  • Panes View Pane created

Thanks!

P.S. It’s here https://github.com/sommerper/filetype-color


#2

The only event I’ve found in TreeView (so far) is the ‘tree-view:directory-modified’ event which occurs when files are added or removed