I am not able to configure winscp to work with ATOM.IO/
I tried to add external editor from the wincsp settings however when I clicked on the file to edit, an command line is opening and nothing happen.
external url : C:\Users\yjradeh\AppData\Local\atom\Update.exe !.!
any help on this ?
To edit file selected in panel go to File(s) > Edit. The command by default opens the file in an internal editor. You can make the command open the file in any external editor in preferences. From submenu File(s) > Edit (alternative) you can open the file in any of configured editors, or even ad hoc editor (Edit With).
If you want WinSCP to open a separate editor for every edited file, in Notepad++, go to Settings > Preferences > Multi-Instance > Always in multi-instance mode. To change the behavior for the instance opened from WinSCP only, use Notepad++ command-line switches -multiInst -nosession .
To change this behavior you need to select the text editor of your choice and the click on the Up button till the desired text editor is at the top, top editor becomes the default editor. And click on OK. And click on Close. From now on when ever you open a file while using WinSCP the new text editor will be used.
I guess the question is off topic, but since it's here and I was JUST trying to figure this out, I thought I would leave an answer just in case.
You need to find the location of the atom.io executable, atom.exe
. The update is just run to check for updates and then starts the executable with some other commands. I don't think you can use the Update.exe
to start the editor at a specific file, at least not through winscp.
For me, I found that the atom.exe was installed to
C:\Users\mynamehere\AppData\Local\atom\app-0.187.0\atom.exe
So I just copied and pasted this into my winscp editor preferences and it seemed to work fine.
Sidenote: I'm also going to be trying out some of the sftp plugins for atom as they might be better than using winscp if they allow the use of authorization keys. There seem to be plenty of choices.
Update (3/22/16): I found that atom installs itself in the PATH. So now I just add atom as an external editor and use the command
atom !.!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With