remote-edit
remote-edit copied to clipboard
file tree browser
This is an enhancement request - once you open one file you have to log back into the server - there should be a persistant file tree similar to how notepad++ ftp plugin works - this is the only thing stopping me from moving to atom 100%
Agreed. They show a file pane in the screen shots, but when you actually install it, it is nowhere to be found. I'm not sure if this is a bug or it's just hidden somewhere, but I don't understand how to view it.
@zwhitchcox the feature is not present at this time. I hadn't thought that the file pane being present in the screenshots would be misleading. It's something that I've been thinking about implemented but haven't had the time. So for now the only way to browse files is to use the popup dialog.
@saqebakhter I'm not acquainted with how this function works in notepad++. The way I've thought about implementing it is that a file is downloaded and opened for editing if you double click it in the tree-view. In other words I don't want to implement a complete folder sync. Would be great with some input on this :)
Because I don't want to implement a complete folder sync, it's kind of hard integrating this into atom's default tree-view (also known as file-pane). There's actually an issue on this atom/tree-view#207. Unless something is done about this in tree-view I need to roll my own solution, and that would be a lot of work if all of the functionality offered by tree-view is to be implemented.
My vote is yes! It's one of those little things you do all the time that get annoying if it's not really fast, if you know what I mean.
I always feel like an asshole complaining about free software though. Thank you for all you do!
If you do this I'll swap over 100% to Atom as well. Currently I have to edit a beta site live with another developer and the treeview would save my life from having to constantly search for files I need to swap between as I'm more of a designer than a developer (I wouldn't be against a complete folder sync if that means saving you time and getting to use atom for this project quicker)
I'd urge you to look at the "sftp deployment" package which syncs entire directories. I don't know when I'll be able to implement this. From: Kyle WhiteSent: 17:23 mandag 8. september 2014To: sveale/remote-editReply To: sveale/remote-editCc: Sverre AleksandersenSubject: Re: [remote-edit] file tree browser (#25)If you do this I'll swap over 100% to Atom as well. Currently I have to edit a beta site live with another developer and the treeview would save my life from having to constantly search for files I need to swap between as I'm more of a designer than a developer (I wouldn't be against a complete folder sync if that means saving you time and getting to use atom for this project quicker)
—Reply to this email directly or view it on GitHub.
a tree view like notepad++ would be awesome.
in notepad++ its realized not with a sync. Only if you click on a file it's opened in the editor. after each save of the file it's uploaded again. The downside of this would be, that code-search (like command-p) wouldn't work.
HI, I would also prefer a tree view of the files. The actual version is hard to move through the folderstructures.
Greetings
+1
+1 as well. This would be money
+1
+1
It would appear the atom remote-ftp package supports this.
While there's a downpour of :+1: here, I thought I might go out on a limb with an alternate suggestion.
I'd far prefer TrampMode's interface to a directory browser. Typeahead and tab-completion "feels" more natural to this commandliner, and when I navigate even a few directories deep, the extra keystrokes and delays really add up.
I'm not sure that Atom readily supports such a widget (as opposed to the popup dialog which seems a very Atom/Sublime UX), but I think the utility of it is superior for me.
Not an argument against implementing tree browser!
check this out, might help to get this done, has a very nice tree view. https://github.com/mgrenier/remote-ftp I'm currently using this package but it seems that the author isn't having time these days. Maybe mixing both packages would made the official atom ftp/sftp/* package :smile:
I created something what is similar to default Tree View and is easier to use then current popup window.
This is my first project with Coffeescript and Atom, so please excuse any bugs in code.
There are things which don't work: tree view toggle and right click events
@sveale Do you think it could be possible if, without actually syncing the files contents, the package was rebuilding the file hierarchy itself in a temporary folder (using empty files in place of actual files)? This way, perhaps you could monitor for file creation / deletion.
Another +1 for this functionality. It would be incredibly useful to be able to browse the remote directory like with notepad++ ftp plugin.
+1
+1
+1 for this feature
+1
+1
+1
+1
Love this plugin, also +1 for this functionality
+1
+1
I like your first idea about double-clicking to download and edit.
Might it be possible to display remote files using the built-in tree view? I don't know if that supports 'plugins' or anything but if you could just insert the remote files into the built-in tree view that would certainly save you some work.
Not sure this helps, however, I am in the process of adding a tree-view that works like Kate
s view (KDE):
- Only open files are shown
- Focuses on the correct tab when a file is clicked
- Each files' folder is shown
- Every folder that is a common ancestor is shown
- All other folders are not shown in the tree
- Hosts are shown as top level folders
- Allows "Close" on any file and folder (will close all open children of that folder)
- Provides a "Show in Browser" which will set the remote files view to the correct host and path
- The most important for me is that this allows me to edit multiple files from different hosts at the same time and jump from one host to another (usually config stuff)
The branch is WIP but almost there... You can install from https://github.com/urban-1/remote-edit2/tree/feature_tree (either by clone+apm install... or give the clone URL to the install packages view)
Screenshots:
git clone https://github.com/urban-1/remote-edit2.git
cd remote-edit2
apm install
apm link .
To install the above.