Sublime Forum

Editing remote files?

#1

Hi. Long time BBEdit user trying something different.

One major missing feature in BBEdit is that while it’s possible to edit files remotely via SFTP/SSH, there is no way to know if the remote file has been edited while it is ‘open’. If you use joe (text editor) to edit a file and then edit the file from under it with, say, vim, joe will know the file has been edited. This is highly important when working with other people on the same files or when doing a git pull.

To implement this ideally I would have a command on the remote box called st which would open the file and remain as a process on that box, communicating changes to the file from the Mac front-end via SSH.

This would be a game changer as I wouldn’t have to use joe in a terminal to avoid stepping on everyone else’s toes.

0 Likes

#2

I’m surprised nobody has jumped in on this one.

Am I the only person who has to use git on a remote box?

0 Likes

#3

Look at https://wbond.net/sublime_packages/sftp

0 Likes

#4

Well, like I said, that won’t work.

0 Likes

#5

Quoting myself:

“One major missing feature in BBEdit is that while it’s possible to edit files remotely via SFTP/SSH, there is no way to know if the remote file has been edited while it is ‘open’. If you use joe (text editor) to edit a file and then edit the file from under it with, say, vim, joe will know the file has been edited. This is highly important when working with other people on the same files or when doing a git pull.”

I need to know when a file has been updated on the remote machine. joe knows this, but if I want to use Sublime Text I’m SOL.

0 Likes

#6

Oh, I’m sorry. I perhaps should go to sleep. It’s only plugin that I used before. For your case maybe https://github.com/NoxArt/SublimeText2-FTPSync will be useful, but only FTP and has some limitations.

0 Likes