Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

If renaming a folder while file in that folder open, saving the file will save it in old location #948

@adamreisnz

Description

@adamreisnz

I have a file open in the editor, e.g. some/path/file.js.
If I rename the folder via tree view to be some/other-path, while my file is open, when I then proceed to edit the file again and save it, it will save it as some/path/file.js, not realising that the new path for the file is now some/other-path/file.js.

This can be rather frustrating, as the new file (in the old location) is created silently, and you're left wondering why your changes aren't appearing/working, until you realise you are editing the wrong file.

Happens on OS X with Atom 1.10.0-dev-98fc8db

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions