When opening files with WinSCP, Atom opens multiple times

1

1

When I open multiple files with WinSCP Atom opens once for each file which takes a long loading time.

Is there any setting in WinSCP or Atom which changes that behaviour?

user1026850

Posted 2019-04-24T06:58:21.380

Reputation: 11

Answers

1

Atom has command-line switch -a, which causes it to open the file in the existing window.

So, in WinSCP, in external Editor preferences, use this command:

"%LOCALAPPDATA%\atom\atom.exe" -a !.!

See https://winscp.net/eng/docs/integration_editor#atom

Martin Prikryl

Posted 2019-04-24T06:58:21.380

Reputation: 13 764