adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.27k stars 7.64k forks source link

SSH access to a folder over NetDrive #9844

Open mbinette opened 9 years ago

mbinette commented 9 years ago

I'm on Windows 8 running Ubuntu EC2 instances on AWS. I use Sublime Text without any additional extensions or packages to access my folders on the EC2 instances using NetDrive. NetDrive simply assigns a drive letter to the home folder of my EC2 instance so I can access the files locally. The speed is great with zero delay.

I tried the same with Brackets 1.0 (and previous versions) and the editor chokes. I can type ten words then wait a full five to ten seconds for it to display. Brackets works fine on local files.

I would LOVE to see another product either have direct SSH file editing access (without requiring some manual sync step) or work properly with a product like NetDrive. As of now, Sublime Text is the only one I've tried that works (and I've tried many including Atom, WebStorm, Netbeans, ...).

dangoor commented 9 years ago

@mbinette there have been extensions to do SFTP upload and syncing, though I haven't tried them out. We also have a backlog item for integrating SFTP.

mbinette commented 9 years ago

@dangoor looking at these options, they aren't really what I'm looking for. I don't want to sync my local files. I don't want local files to exist at all. I want to connect to an SFTP location and treat it like it was local. I couldn't really find any editor that did that which is why I purchased NetDrive (and tried many other similar tools) to map a remote SFTP drive or S3 drive or GDrive, etc. to a network drive and use something like Brackets locally. But, Brackets has performance issues accessing a network drive like this. I'm not sure if Sublime Text does some type of caching or something but it doesn't have any issues with loading and editing a network drive file/directory. I'd be more interested in finding out what file level operations are occurring on every key press that is causing this to be extremely slow. Once the file is loaded into Brackets, it shouldn't be trying to hit the file system with every key press should it? That is how it feels.

dangoor commented 9 years ago

Indeed, you're correct that Brackets shouldn't be hitting the file system on every keypress. My guess is that there's something else going on (like javascript code hints reading a bunch of files in the background) that is causing slowness.

felipenmoura commented 9 years ago

I use SSHFS, on a MAC, to access a Linux server, and it is simply impossible to work! I believe there are many companies around here(Brazil) that use this strategy to develop, and this makes using brackets prohibitive! Any update about it?!