newinnovations / remote-edit-ni

Atom package to browse and edit remote files using SSH and FTP. This fork supports atom 1.41.x and adds some new features.
https://atom.io/packages/remote-edit-ni
MIT License
18 stars 2 forks source link

Lost host list? #36

Closed IanCabell closed 5 years ago

IanCabell commented 6 years ago

Opened Atom today, went to remote-edit to connect to a host, and it says there aren't any in there?

Where would I look for the hosts file to see if something is corrupted or something?

newinnovations commented 5 years ago

It happened to me once or twice. It sucks. We are not really sure what causes this. @urban-1 suggested he thought it may be caused by using the atom devtools.

The hosts are stored in remoteEdit.json in atom config directory (~/.atom/remoteEdit.json on linux).

IanCabell commented 5 years ago

@urban-1 may be right? I opened devtools to change the color of the highlighted host name, and that may have caused the issue. Thanks for letting me know where the file is, so at least I can keep a copy :)

urban-1 commented 5 years ago

Hi @IanCabell - I never found out what exactly happens, but it seemed to happen when the devtools reload the view (Cmd+R does that if the focus is on the console).

As a workaround I use https://atom.io/packages/sync-settings and add this file to the list to backup so I always have a copy