kooohei / brackets-synapse

Synapse is Adobe Brackets extension. it will be provided useful function to you. that can be editing text file on remote server directly via the FTP or SFTP. May the code with you :-)
MIT License
46 stars 14 forks source link

Faster reopening and project resume #73

Open davidhigginson opened 8 years ago

davidhigginson commented 8 years ago

Would it be possible to make it possible to re-open the program and have re-opened files connect and begin syncing with remote server automatically?

kooohei commented 8 years ago

No Synapse is reconnected to server from auth when each command. and disconnected from server after the command immediatry.

perhups, your problem was triggered when the take a time from connected to server. right?

Can you confirm to the log of the developer tools when It will happen?

I could not reproduce this problem.

if It is not problem. please tell me the detail of your issue.

Sentinel911 commented 8 years ago

davidhigginson って言うのは、発動する時に、Synapseのユーザセーブテータのような事をロードできませんのです。たとえ、セーブした様々のFTPファイルのルートが。今じゃ、コネクトする時にファイルを再開するのは時間がかかるんです。どうか、しませんかな~

kooohei commented 8 years ago

ah I see, sorry I confused. i.e Issue is "Would the tree view state return to before time", right? I see, I thought that. and certainly it is possible. but I think, this is wrong. because We don't know, who edited to the files on the remote server. typically Brackets is installed to the local machine. there is not changed filesystem by others. but the remote server (specially web root) has shared context to others.

In conclusion. will need more time when open the app with synapse, if the remote file tree different from before time. because Synapse waited to the time of the "time out" sec via download each different files.

thx @Sentinel911 for translate to Japanese

Sentinel911 commented 8 years ago

@kooohei it's fine, because I'm interested in implementation of this feature as well. Yes, we talk about saving user previous view state. I suggest to do it as available option in settings, maybe by default turned off. I understand the downside, but in my case I'm the only one with access to FTP so it will benefit my work without doubt.

davidhigginson commented 8 years ago

@Sentinel911 Thanks, that's exactly what I meant. I like the idea it being a setting which can be turned on and off. I, too, am the only person with FTP access, so I would benefit massively also.

kooohei commented 8 years ago

ok I promise to you, that append to extension at near future. plz wait.

davidhigginson commented 8 years ago

@kooohei Its a great little extension already, and this is a really minor feature, so please put other, more important work first! Thank you ever so much!!

Sentinel911 commented 8 years ago

koooheiさん、brackets-synapseを作ってくれましたどうもありがとうございます。素敵なお仕事でした。僕はbrackets-synapseを使っていますし、いいaddonと思いますよ。

kooohei commented 8 years ago

日本語でありがとうございます!

JoeHana commented 8 years ago

I + that request. I'm always the only one who works on the FTP and therefore it would benefit my workflow.

On another hand, I guess this would be even greater together with my other feature request in #74