开发者

A good Linux based text editor, with FTP editing, and ability to keep alive ftp connection [closed]

开发者 https://www.devze.com 2023-01-12 20:40 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_JAVA技巧

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I need a text editor for linux with the following features:

  • Syntax Highlighting for PHP, Javascript (most have these)
  • Autocompletion of braces, parenthesis, and
  • Most important of all, editing via FTP.
  • Even more important of all, have a 'keep alive' function when editing via ftp. I have a not so fast internet connection and many editors connect, save, and disconnect everytime i save the file.

The keep alive function that notepad++ has is a life saver. I've tried jEdit, but there isnt a keep alive feature.


You can achieve remote editing with any editor when using some Fuse based FTP-filesystem.

For example: http://curlftpfs.sourceforge.net/

curlftpfs -o user=username:password ftp.example.com /my/mount/point

More preferably you should use SSH and SSHFS if possible. http://fuse.sourceforge.net/sshfs.html

For the editor I would recommend Geany or even Eclipse.

You should also checkout JetBrains' PHPStrom http://www.jetbrains.com/phpstorm/


Geany does everything but the remote connection, but that's what GVFS is for.


GVim/Vim supports ftp & ssh/scp (read here and here)

Emacs is seemed to support them also (read here)

General format is: protocol:user@host#port:dir/file


On Linux I've been using KDE's Kate for over a decade for editing remote text files. It can access and bookmark remote SFTP folders. It has syntax highlighting.

In fact I just installed Lubuntu on a laptop I intend to work on more and I came across this thread while looking for an alternative to Kate. I have used most of the alternatives described here and don't think any of them trumps kate when it comes to the ease with which it allows you to edit remote text files over sftp.

There are a couple of online js-based editors out there and a couple of chrome based ones worth checking out, but still after all this time Kate still rules my coding universe when using a linux desktop client.


try eclipse. most awesome editor anyone has ever known. and i think editing via ftp is also possible.

can you just do a ping -t onto your ftp server? it will keep the connection alive.

ah and winscp actually can do this too. you just have to define your own editor to use.


I think gedit fulfill most of your requirement. I do use gedit on my ubuntu machine.I first mount the drive from remote machine to my local machine and then use gedit to work with files.I never seen a problem of connection.


You can use vim to do that.

It has syntax highlighting for any language I know and you can set it up to auto-complete your parentheses. You can edit files via ftp, and even use vim as an ftp navigator. The first google hit, tells you how.


Epeli's answer is the best answer so far, but it will only allow root to access the files. This is the way to allow all users to access the mount point:

sudo curlftpfs -o allow_other ftp://username:password@example.com /my/mount/point/


I'm using Komodo Edit v 8.5. Features:

  • PHP (and many others) live syntax check and completion of parenthesis, etc
  • FTP/SFTP/FTPS/SCP (I don't see SSH options, but I'm new to Komodo, maybe there's a way)
  • You can use it as simple editor or with project manager
  • There's a paid IDE version of Komodo also, you can try it as well


Personally, I use Sublime Text 2 in Linux.

It supports code completion, code folding, snippets, themes, ftp, and a lot more and it faster then anything in Java as well as lighter on memory.


I was also using Kate to do this until it inexplicably stopped working - now any file I open is blank, despite actually having data in.

However while Kate was working it was the perfect solution for this. Browsing around a remote ftp server was lightening fast. When I tried the same with curlftpfs it was incredibly slow to open files and folders.

Kate will also work on Windows thanks to the KDE Windows Initiative.

0

精彩评论

暂无评论...
验证码 换一张
取 消