I’ve been working on some plugins lately, and I’d like to request a couple of features in the API that I would find really useful:
-
A way to get a list of all open tabs. The plugin I finished today absolutely needs this (Save and Reopen Untitled Tabs). While it does mostly work without this feature, it would be awesome if there was a way to get a list of the view objects.
-
An event that fires when the editor starts up. I ran into a problem in which I was trying to do too much in the constructor of my EventListener. I worked around it with a little set_timeout, but that’s ugly, an event would be nicer.
-
Buffer version number. Internally, E kept a small version number for each file that was incremented each time there was a change to the file. This allowed plugins and such to easily check if a specific file had been modified. That would be really nice to have.
-
Something to manipulate the tab order and set which tab has focus. Or rather, window.new_file() should optionally accept an index which is the location to open the tab at.