So, like I said earlier, I really want to keep using BBEdit
, but SFTP support has become quite poor (which, it turns out after having chatted with BBEdit support, is due to a bug) and need to be updated. This is how I would like it to work:
First and foremost, I need to be able to drag files from Interarchy (or any other application capable of carrying URL data in a drag'n'drop event) to BBEdit. This used to work but doesn't anymore. This is a bug, which they will fix. Very good, over to the next:
When dragging a SFTP folder (i.e from Interarchy), BBEdit does not, and did not do anything. It couldn't handle it, or add it. When dragging a normal Finder folder to this space, you get this:
I.e. a folder hierarchy with all the files in the entire hierarchy. But when dragging a SFTP folder, I would like this to happen:
So, the difference here is that this creates what BBEdit calls "collections" rather than folders. These can be manually created, but by dragging a SFTP URL to a folder, a collection is created and BBEdit will use its SFTP engine to list the directory and create SFTP links and collections for each file and folder in the remote directory.
Now, this way, I get all the benefits of SFTP with all the usability of BBEdit's project management. Coda does precisely this with the "remote directory" pane in the sidebar. It is a "live" view of the remote directory. Only problem with Coda is that it can only show one directory there. With my solution here, I can add as many directories as I like from different parts of my remote server, and I can omit some files and directories that are irrelevant to my current task.
I can't see how any of this could be hard to implement. Obviously BBEdit could stop listing remote folders after X levels of hierarchies due to resources, or it could list them on-demand. So the sub collections are empty until selected and folded-out. Or why not read 2 levels of files/folders, and when selected, I get this:
So I can hit the reload widget and re-read the collection from the remote server, which empties the collection and replaces it with the same X-levels of information.
Pretty please, Barebones!