Topic "Recommended text editor for multiple file editing"

Author Message
Guest




Hi!

I use Editplus as my text editor at the moment, but the new and promising multiple file uploading feature in WinSCP doesn't work there.

Can anyone recommend a programmers text editor that lets you use this feature?

Thank you in advance, and thanks to Martin Prikryl for his great work.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Just check "Allow multiple instances" option on General tab of Preferences dialog (in the editor).
_________________
Martin Prikryl
marek

Guest


prikryl wrote:
Just check "Allow multiple instances" option on General tab of Preferences dialog (in the editor).


In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
marek wrote:
In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already Sad
_________________
Martin Prikryl
Guest




prikryl wrote:
marek wrote:
In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already Sad

Bummer dude. I also would like to see this feature added. I use EditPadLite and it is a tab based MDI format. I love WinSCP tho! Keep it up!
Guest




Anonymous wrote:
prikryl wrote:
marek wrote:
In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already Sad

Bummer dude. I also would like to see this feature added. I use EditPadLite and it is a tab based MDI format. I love WinSCP tho! Keep it up!

I forgot to mention. It would be nice if you had an option to "Use Edit as Default command" instead of Open. I usually double click if I want to edit a file.
Guest




prikryl wrote:
marek wrote:
In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already Sad

The "problem" is Martin wants to avoid to have your temp-dir populated with lots of rubish. Therefore these temp-files lie around just as long the editor process started by WinSCP is still running.

So my suggestion (another sassy comment Wink ) would be to monitor the temporary folder which have been created before starting the editor. If the folder itself or the contained files are locked by another process the user is still editing the files.

Admittedly this would be quite a huge effort for the little effect, but as many people out here I also really hate 10 editor windows cluttering my desktop...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Quote:
If the folder itself or the contained files are locked by another process the user is still editing the files.

Not every editor locks the opened files. So unfortunatelly this is not a solution, otherwise I would have done it this way already.
_________________
Martin Prikryl
Guest




Anonymous wrote:
The "problem" is Martin wants to avoid to have your temp-dir populated with lots of rubish.

I could live with that... (I know it's partly a security issue as well, but still...)
How about some temporary option for it?

// Gargaj / Conspiracy
// http://gargaj.umlaut.hu/
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Quote:
I could live with that... (I know it's partly a security issue as well, but still...)
How about some temporary option for it?

It is already implemented and it will be included in the next release. See "Not Released Yet" chapter of version history. If you want I can provide you pre-release version for testing.
_________________
Martin Prikryl
Gargaj

Guest


prikryl wrote:
Quote:
I could live with that... (I know it's partly a security issue as well, but still...)
How about some temporary option for it?

It is already implemented and it will be included in the next release. See "Not Released Yet" chapter of version history. If you want I can provide you pre-release version for testing.

I'm all for it if there's a chance - where do I sign up? Very Happy

// Gargaj / Conspiracy
// http://gargaj.umlaut.hu/
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Gargaj wrote:
I'm all for it if there's a chance - where do I sign up? Very Happy

I have sent you a link on your email (from your homepage).
Bryan

Guest


Anonymous wrote:
prikryl wrote:
marek wrote:
In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already Sad

The "problem" is Martin wants to avoid to have your temp-dir populated with lots of rubish. Therefore these temp-files lie around just as long the editor process started by WinSCP is still running.

So my suggestion (another sassy comment Wink ) would be to monitor the temporary folder which have been created before starting the editor. If the folder itself or the contained files are locked by another process the user is still editing the files.

Admittedly this would be quite a huge effort for the little effect, but as many people out here I also really hate 10 editor windows cluttering my desktop...



I use Editpad Pro, and I've had the issue where I open a couple of files and after I edit them and try to upload them again, it tells me that it can't save to that directory. I have to end up saving them to my desktop and uploading them that way.

I got around this by using the Sync tool. I setup a local directory and a remote directory. Edit the file locally, and ta da... it syncs with the remote directory. It will copy/move any file you put in that specific local directory. I think that this is a better way than trying to right-click and edit. You can have a backup on your local machine if you want it, or it can delete the source file after it's been updated.

Martin... Awesome program bro. You're a freaking genius... You've made my life easier and more secure.

Bryan
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Bryan wrote:
I use Editpad Pro, and I've had the issue where I open a couple of files and after I edit them and try to upload them again, it tells me that it can't save to that directory. I have to end up saving them to my desktop and uploading them that way.

This was solved in the last release 3.7.2. You need to check "External editors opens multiple files in one window (process)" in Preferences > Editor.

Quote:
Martin... Awesome program bro. You're a freaking genius... You've made my life easier and more secure.

You're welcome Smile
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License