Missing subview method


I’m trying to get an EditorView for the currently focused tab. By using `atom.workspaceView.getActiveView()


Isn’t spacepen deprecated now that React takes over the world?


The subview method is a class method on the View class. I’m not sure what you’re trying to achieve by calling the subview method but if you want to append some other view to an editor view you can just go with the jQuery methods for inserting nodes.

@batjko: spacepen was removed from the internal parts of the editor view, but the ReactEditorView class is still a spacepen view. The switch to a full React interface will probably take much more time and break much more packages, and I’m not sure it’ll offer as much benefits as it did for the editor view.


I had the idea that everything should be done with models and views instead of dropping down to using the dom. I still have a lot to learn.

I had no idea everything was switching to react. It’s going to be a rough ride.