remote-edit icon indicating copy to clipboard operation
remote-edit copied to clipboard

file tree browser

Open saqebakhter opened this issue 10 years ago • 30 comments

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%

image

saqebakhter avatar Aug 20 '14 19:08 saqebakhter

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 avatar Sep 07 '14 08:09 zwhitchcox

@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.

sveale avatar Sep 07 '14 20:09 sveale

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!

zwhitchcox avatar Sep 07 '14 21:09 zwhitchcox

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)

thewhitekyle avatar Sep 08 '14 15:09 thewhitekyle

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.

sveale avatar Sep 08 '14 15:09 sveale

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.

simonfranz avatar Sep 11 '14 06:09 simonfranz

HI, I would also prefer a tree view of the files. The actual version is hard to move through the folderstructures.

Greetings

janstieler avatar Oct 16 '14 23:10 janstieler

+1

gitfoxi avatar Mar 18 '15 20:03 gitfoxi

+1 as well. This would be money

addisonbgross avatar Jun 25 '15 17:06 addisonbgross

+1

nathanhleung avatar Jun 25 '15 20:06 nathanhleung

+1

nmalcolm avatar Jun 26 '15 14:06 nmalcolm

It would appear the atom remote-ftp package supports this.

Krinkle avatar Jun 29 '15 07:06 Krinkle

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!

xurizaemon avatar Jun 30 '15 04:06 xurizaemon

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:

arielnoname avatar Aug 01 '15 14:08 arielnoname

I created something what is similar to default Tree View and is easier to use then current popup window.

screen-remote-edit

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

martinfojtik avatar Aug 13 '15 17:08 martinfojtik

@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.

arcanis avatar Aug 26 '15 08:08 arcanis

Another +1 for this functionality. It would be incredibly useful to be able to browse the remote directory like with notepad++ ftp plugin.

nickchettle avatar Sep 15 '15 13:09 nickchettle

+1

opsnull avatar Oct 11 '15 13:10 opsnull

+1

ghost avatar Nov 10 '15 10:11 ghost

+1 for this feature

luunguyenbk avatar Nov 24 '15 13:11 luunguyenbk

+1

mandavister avatar Dec 22 '15 17:12 mandavister

+1

thedanielhanke avatar Dec 30 '15 13:12 thedanielhanke

+1

tlygnersjo avatar Jan 13 '16 11:01 tlygnersjo

+1

antoniodltm avatar Feb 03 '16 17:02 antoniodltm

Love this plugin, also +1 for this functionality

nhaskel avatar Feb 05 '16 20:02 nhaskel

+1

gerpsh avatar Mar 02 '16 01:03 gerpsh

+1

rodrigogoncalves avatar Mar 11 '16 11:03 rodrigogoncalves

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.

controversial avatar Mar 15 '16 16:03 controversial

Not sure this helps, however, I am in the process of adding a tree-view that works like Kates 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:

remote-edit-tree-1 remote-edit-tree-2

urban-1 avatar Sep 09 '17 09:09 urban-1

git clone https://github.com/urban-1/remote-edit2.git
cd remote-edit2
apm install
apm link .

To install the above.

wolfiex avatar Nov 09 '17 16:11 wolfiex