Adding buttons to the tree view


Hello. I have a package for a specific language. In said language’s official IDE (which is a complete piece of trash and why I have this package) you include files to the very simplistic include system by checking the checkbox in the file tree for said file.

Basically I want to be able to add checkboxes in front of each file of a specific type in the tree view.

I tried to look into how to replicate this behaviour in Atom, but I couldn’t find anything to do it.

Any help or general direction to look in would be extremely appreciated.


You would have to manipulate the DOM in the tree view. Use a unique class name for the checkboxes, and then you can select for them and see which ones are checked on run time.


Thanks, I’ll try that.