Looking to build docks into my package


I was using this tutorial: http://flight-manual.atom.io/hacking-atom/sections/package-active-editor-info/

Doesn’t seem to work for me. My code is in the following gist and simplified. https://gist.github.com/mrpotatoes/778fab79921a6d949e8d03d211076032

I don’t get the dock hover on the right side. Help is greatly appreciated so that I can use this in my proper module.


Okay, I think I get it (somewhat). I put some of the methods in the wrong area.

I guess my main question is how do I keep the dock there when I open up the editor (the package is enabled/activated?)


As far as I know, docks automatically open when a package is occupying them. Every time I open Atom, the GitHub package wants to open my right dock even though I don’t need to look at it.